Protonerd / FX-SaberOS

System code for Arduino based Lightsaber replicas for DIYino family boards
Creative Commons Zero v1.0 Universal
91 stars 42 forks source link

ensures battery check code is no longer loaded if the BATTERY_CHECK flag is disabled #115

Closed rhansenne closed 6 months ago

rhansenne commented 6 months ago

Battery check code was always loaded, irrespective of the BATTERY_CHECK flag. This has been corrected - now this code does not load if BATTERY_CHECK is commented out in Config_HW, which saves precious program space that can be used to enable other features if one does not wish to use the battery check functionality.