diff options
author | Jean-François Milants <jf@codingfield.com> | 2021-06-06 15:56:03 +0200 |
---|---|---|
committer | Jean-François Milants <jf@codingfield.com> | 2021-06-06 15:56:03 +0200 |
commit | 7f9cc51b050e1034b573e37484f7afe29c370d81 (patch) | |
tree | de5228132fb72e89bb5d999b74b40f4248d41022 /src/drivers/SpiMaster.h | |
parent | 79f0fcb07aa80eb70385223272e29f2ba5657bc8 (diff) |
Initialize SystemTask, DisplayApp and HeartRateTask as global static variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
Diffstat (limited to 'src/drivers/SpiMaster.h')
-rw-r--r-- | src/drivers/SpiMaster.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/SpiMaster.h b/src/drivers/SpiMaster.h index dfc195b7..5045369a 100644 --- a/src/drivers/SpiMaster.h +++ b/src/drivers/SpiMaster.h @@ -10,7 +10,6 @@ namespace Pinetime { namespace Drivers { class SpiMaster { public: - ; enum class SpiModule : uint8_t { SPI0, SPI1 }; enum class BitOrder : uint8_t { Msb_Lsb, Lsb_Msb }; enum class Modes : uint8_t { Mode0, Mode1, Mode2, Mode3 }; |