diff --git a/code/espurna/pwm.c b/code/espurna/pwm.c index e85500b4..b925da8e 100644 --- a/code/espurna/pwm.c +++ b/code/espurna/pwm.c @@ -445,5 +445,5 @@ get_pwm_version(void) void ICACHE_FLASH_ATTR set_pwm_debug_en(uint8_t print_en) { - UNUSED(print_en); + (void) print_en; } diff --git a/code/espurna/sensors/ECH1560Sensor.h b/code/espurna/sensors/ECH1560Sensor.h index 48541ca0..a8a34648 100644 --- a/code/espurna/sensors/ECH1560Sensor.h +++ b/code/espurna/sensors/ECH1560Sensor.h @@ -127,7 +127,7 @@ class ECH1560Sensor : public BaseSensor { void ICACHE_RAM_ATTR handleInterrupt(unsigned char gpio) { - UNSUSED(gpio); + UNUSED(gpio); // if we are trying to find the sync-time (CLK goes high for 1-2ms) if (_dosync == false) {