mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
WIRE_INTERFACES_COUNT -> NO_WIRE
This commit is contained in:
@@ -155,7 +155,7 @@ void nrf52Setup() {
|
||||
void cpuDeepSleep(uint64_t msecToWake) {
|
||||
// FIXME, configure RTC or button press to wake us
|
||||
// FIXME, power down SPI, I2C, RAMs
|
||||
#if WIRE_INTERFACES_COUNT > 0
|
||||
#ifndef NO_WIRE
|
||||
Wire.end();
|
||||
#endif
|
||||
SPI.end();
|
||||
|
||||
Reference in New Issue
Block a user