Luke Cartwright / Mbed 2 deprecated ELEC2645_Project_el18loc_nearlythere

Dependencies:   mbed

Revision:
30:08cc4ec58d07
Parent:
19:08862f49cd9e
--- a/Gamepad2/Gamepad.cpp	Mon May 25 20:00:31 2020 +0000
+++ b/Gamepad2/Gamepad.cpp	Tue May 26 10:17:47 2020 +0000
@@ -420,7 +420,7 @@
 void Gamepad::write_u16(unsigned short val)
 {
     if (val > 65535) {
-        #ifdef CSV
+        #ifdef CSV //used for error detection in CSV file
         printf("/nERROR OUTPUT VALUE= %u",val);
         #endif
         val = 65535;
@@ -428,8 +428,6 @@
     dac->write_u16(val);
 }
 
-
-
 void Gamepad::play_next_note()
 {
     // _note is the note index to play