Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc. http://www.blynk.cc/
Dependents: Blynk_RBL_BLE_Nano Blynk_MicroBit Blynk_Serial Blynk_RBL_BLE_Nano
Diff: BlynkSimpleMicroBit.h
- Revision:
- 16:6d9bf99b263c
- Parent:
- 15:975b60f7a8ff
- Child:
- 19:bae78e167b11
--- a/BlynkSimpleMicroBit.h Mon Nov 27 19:48:07 2017 +0200 +++ b/BlynkSimpleMicroBit.h Mon Nov 27 23:01:23 2017 +0200 @@ -83,8 +83,8 @@ } size_t read(void* buf, size_t len) { - uint32_t start = millis(); - while (millis() - start < BLYNK_TIMEOUT_MS) { + millis_time_t start = BlynkMillis(); + while (BlynkMillis() - start < BLYNK_TIMEOUT_MS) { if (available() < len) { ble->waitForEvent(); } else {