aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2023-05-18 15:18:56 +0200
committerJF <JF002@users.noreply.github.com>2023-06-04 17:22:27 +0200
commit62848b33fb3df756fea17f31c818cd6de7a85b34 (patch)
treefa4b778d7b965fdc3b633e05a63b6753b741e78d /src/main.cpp
parent4c0f897953aa8d478f3c941e75d3b2eb5611531d (diff)
Power optimization - Improve SPI sleep mode
Calls to Spi::Init() are not needed, pin initialization is already done in ctor(). Remove calls to Spi::Sleep()/Spi::Wakeup() to ensure that SPI CS pins are kept high even in sleep mode.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions