Arturs Kozlovskis / Mbed 2 deprecated ELEC2645_Project_el18ak

Dependencies:   mbed

Revision:
27:da17a102c8d0
Parent:
24:74a53dd49806
Child:
28:b6f048f46ffb
diff -r 9009ad1077f8 -r da17a102c8d0 main.cpp
--- a/main.cpp	Thu May 21 08:58:21 2020 +0000
+++ b/main.cpp	Thu May 21 17:49:49 2020 +0000
@@ -87,7 +87,7 @@
         objects.draw_cannon(lcd);//draws the cannon
         game_check = functions.cannon_smash(lcd, objects); //checks if the cannon has been hit by a ball
         lcd.refresh();
-        wait(0.1 + extra_speed);
+        wait(0.1f + extra_speed);
 
         //added this so the cannon moves faster than the balls
         lcd.clear();