Simple fish eat program

Dependencies:   mbed mbed-rtos N5110 ShiftReg Tone

Revision:
12:20ac766b3175
Parent:
11:7c1e2a9303d3
Child:
13:183bd19f3d7d
diff -r 7c1e2a9303d3 -r 20ac766b3175 classes/Settings.cpp
--- a/classes/Settings.cpp	Wed Apr 21 11:08:02 2021 +0000
+++ b/classes/Settings.cpp	Wed Apr 21 15:24:31 2021 +0000
@@ -30,7 +30,7 @@
     button_B.mode(PullNone);
     button_C.mode(PullNone);
     button_D.mode(PullNone);
-    _highscore.write_File(100);
+    _highscore.writeFile(100);
 }
 
 int Settings::buttonA_state(int ButtonA){
@@ -45,7 +45,7 @@
 
 //functions for changing settings
 void Settings::settingsMenu(N5110 &lcd, Tone &dac, Joystick &joystick){
-    int rect_width = 32;
+    rect_width = 32;
 
     do{
         lcd.clear();