Browse Source

Fix compile typo

rules-rpn
Xose Pérez 5 years ago
parent
commit
504b45a852
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      code/espurna/pwm.c
  2. +1
    -1
      code/espurna/sensors/ECH1560Sensor.h

+ 1
- 1
code/espurna/pwm.c View File

@ -445,5 +445,5 @@ get_pwm_version(void)
void ICACHE_FLASH_ATTR void ICACHE_FLASH_ATTR
set_pwm_debug_en(uint8_t print_en) set_pwm_debug_en(uint8_t print_en)
{ {
UNUSED(print_en);
(void) print_en;
} }

+ 1
- 1
code/espurna/sensors/ECH1560Sensor.h View File

@ -127,7 +127,7 @@ class ECH1560Sensor : public BaseSensor {
void ICACHE_RAM_ATTR handleInterrupt(unsigned char gpio) { 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 we are trying to find the sync-time (CLK goes high for 1-2ms)
if (_dosync == false) { if (_dosync == false) {


Loading…
Cancel
Save