Skip to content

Commit ba640bd

Browse files
committed
esp8266/esppwm.c: Fix IRQ handler prototype.
1 parent 632d8ef commit ba640bd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

esp8266/esppwm.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,9 @@ pwm_get_freq(uint8 channel)
302302
* Returns : NONE
303303
*******************************************************************************/
304304
STATIC void ICACHE_RAM_ATTR
305-
pwm_tim1_intr_handler(void)
305+
pwm_tim1_intr_handler(void *dummy)
306306
{
307+
(void)dummy;
307308
uint8 local_toggle = pwm_toggle; // pwm_toggle may change outside
308309
RTC_CLR_REG_MASK(FRC1_INT_ADDRESS, FRC1_INT_CLR_MASK);
309310

0 commit comments

Comments
 (0)