ELEC2645 (2018/19) / Mbed 2 deprecated el17szs

Dependencies:   mbed

Revision:
24:23fd6b451db7
Parent:
21:a0904159e183
Child:
26:6427f09cf8d3
--- a/Bat/Bat.cpp	Tue Apr 30 13:17:14 2019 +0000
+++ b/Bat/Bat.cpp	Wed May 01 08:46:44 2019 +0000
@@ -33,6 +33,6 @@
     return _hitBall;
 }
 int Bat::get_loft_ball(UX &ux){
-     _loft_ball=ux.get_a_pressed();
+     _loft_ball=ux.get_l_pressed();
     return _loft_ball;
 }
\ No newline at end of file