EdgeBotix / Mbed 2 deprecated eBot_Firmware_V1

Dependencies:   mbed HC05 QEI MODSERIAL SWSPI mbed-rtos

Revision:
4:81b0de07841f
Parent:
1:1da89c13dfa1
--- a/Drivers/Tone/tone.cpp	Sun Oct 12 23:27:43 2014 +0000
+++ b/Drivers/Tone/tone.cpp	Tue Oct 14 17:55:37 2014 +0000
@@ -26,7 +26,7 @@
 // Pulse the speaker to play a tone for a particular duration
 void imperial_march()
 {
-    for (int i=0; i<MAX_COUNT; i++) {
+    for (int i=0; i<36; i++) {
         toneM = melody1[i];
         beat = beats1[i];
         duration = beat * tempo; // Set up timing