Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: Light.cpp
- Revision:
- 99:0fa83e641f75
- Parent:
- 98:3ea8058f4c54
- Child:
- 101:8747b6612e32
--- a/Light.cpp Fri Mar 14 21:36:08 2014 +0000 +++ b/Light.cpp Fri Mar 14 21:37:59 2014 +0000 @@ -148,7 +148,7 @@ // Blink void Light::blinkLight() { - boolean forward = true; + bool forward = true; if (this->m_current_state == 0) forward = false; this->m_is_blinking = true; if (forward) this->on(); else this->off();