code now compiles

This commit is contained in:
Brandon Switzer
2019-07-25 16:06:12 -04:00
parent 65341bac20
commit e01441da84
43 changed files with 222 additions and 55 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
#include <LiquidCrystal_I2C.h>
#include <EEPROM.h>
#include "lcd.h"
#include "input.h"
#include "setting.h"
extern LiquidCrystal_I2C lcd;
const String MENU_NAMES[] ={
"Handle Notes",
"Schedule Notes",
@@ -57,7 +61,7 @@ void updateDisplay()
lcd.setCursor(0, 1);
//see if the current menu is true or false or just a number
if(currentMenu != static_cast<int>(SettingID::SCHEDULE_NOTES) &&
currentMenu != static_cast<int>(SettingID::HANDLE_NOTES)) //if current menu is not a boolean menu
currentMenu != static_cast<int>(SettingID::HANDLE_NOTES)) //if current menu is not a bool menu
lcd.print(EEPROM.read(currentMenu));
else
{