gcormier / megadesk

Open-source IKEA Bekant controller board
GNU General Public License v3.0
719 stars 53 forks source link

more optimization to save memory #38

Closed tagno25 closed 3 years ago

tagno25 commented 3 years ago

I have converted pushCount, push_addr, and memorySlot to from int to uint8_t. As well as changing recvInProgress from bool to uint8_t. I have also changed all the byte to uint8_t to maintain a standard.

Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=====     ]  45.1% (used 231 bytes from 512 bytes)
Flash: [==========]  96.9% (used 7936 bytes from 8192 bytes)