Space Invaders - Embedded Systems Project 15/16 - Avinash Patel 200860407

Dependencies:   Joystick N5110 SDFileSystem mbed

Files at this revision

API Documentation at this revision

Comitter:
avi23
Date:
Thu May 05 13:58:33 2016 +0000
Parent:
10:b7785863305a
Commit message:
Fixed Mute option leaving a trailing 'f'

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r b7785863305a -r eab3fb334bde main.cpp
--- a/main.cpp	Thu May 05 11:07:45 2016 +0000
+++ b/main.cpp	Thu May 05 13:58:33 2016 +0000
@@ -1623,6 +1623,7 @@
         lcd.drawRect(42, 16, 24, 7, 2);
     } else if (fsm_state == 1) { ///Mute game
         is_muted = !is_muted;
+        lcd.drawRect(42, 24, 24, 7, 2);
     } else if (fsm_state == 2) { ///Delete save data
         DeleteGameData();
         ///Sets FSM list back to 0 and resets the cursor