Skip to content

Commit

Permalink
Adjustments according clang styleguide
Browse files Browse the repository at this point in the history
  • Loading branch information
biologist79 committed Nov 6, 2023
1 parent 997cd2d commit 3c46679
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/RfidPn5180.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ void Rfid_Init(void) {
Rfid_WakeupCheck();
}

// wakeup-check if IRQ is connected to port-expander, signal arrives as pushbutton
#if (defined(PORT_EXPANDER_ENABLE) && (RFID_IRQ > 99))
// wakeup-check if IRQ is connected to port-expander, signal arrives as pushbutton
#if (defined(PORT_EXPANDER_ENABLE) && (RFID_IRQ > 99))
if (wakeup_reason == ESP_SLEEP_WAKEUP_EXT0) {
// read IRQ state from port-expander
i2cBusTwo.begin(ext_IIC_DATA, ext_IIC_CLK);
Expand All @@ -79,7 +79,7 @@ void Rfid_Init(void) {
Rfid_WakeupCheck();
}
}
#endif
#endif

// disable pin hold from deep sleep
gpio_deep_sleep_hold_dis();
Expand Down

0 comments on commit 3c46679

Please sign in to comment.