Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
188:56fccf5f919b
Parent:
146:8c05a119d9d4
Child:
192:54b758a8eaaa
--- a/CopCarLEDFlasher.cpp	Fri Sep 19 18:29:24 2014 +0000
+++ b/CopCarLEDFlasher.cpp	Fri Sep 19 21:36:40 2014 +0000
@@ -42,7 +42,7 @@
         *(this->m_led2) = 0;
         *(this->m_led) = 0;
     }
-    if (this->m_state == 1) {
+    if (this->m_state == 1 || this->m_state == 2) {
         if (this->m_toggle) {
             *(this->m_led2) = 1;
             *(this->m_led) = 0;