WIRE_INTERFACES_COUNT -> NO_WIRE

This commit is contained in:
Vadim Furman
2021-03-19 18:46:11 -07:00
parent b6e197371d
commit d3cbc8ea78
3 changed files with 4 additions and 3 deletions

View File

@@ -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();