esp8266/esppwm.c: Fix IRQ handler prototype.

This commit is contained in:
Paul Sokolovsky 2016-03-26 00:34:28 +02:00
parent 632d8efa05
commit ba640bde55
1 changed files with 2 additions and 1 deletions

View File

@ -302,8 +302,9 @@ pwm_get_freq(uint8 channel)
* Returns : NONE * Returns : NONE
*******************************************************************************/ *******************************************************************************/
STATIC void ICACHE_RAM_ATTR STATIC void ICACHE_RAM_ATTR
pwm_tim1_intr_handler(void) pwm_tim1_intr_handler(void *dummy)
{ {
(void)dummy;
uint8 local_toggle = pwm_toggle; // pwm_toggle may change outside uint8 local_toggle = pwm_toggle; // pwm_toggle may change outside
RTC_CLR_REG_MASK(FRC1_INT_ADDRESS, FRC1_INT_CLR_MASK); RTC_CLR_REG_MASK(FRC1_INT_ADDRESS, FRC1_INT_CLR_MASK);