blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.84k stars 1.39k forks source link

Error in lib on compile/verify (Arduino 101 BLE) #380

Closed golyalpha closed 6 years ago

golyalpha commented 6 years ago

Blynk library version: latest release (as of writing) IDE: Arduino IDE version: 1.8.4 Board type: Arduino 101 Additional modules: None

Scenario, steps to reproduce

Get a BLE GPS example from the example generator Copy-paste Try to compile

Expected Result

Successful compilation

Actual Result

In file included from C:\Users..\Blynk\src/BlynkSimpleCurieBLE.h:24:0,

             from C:\Users\...\Blynk_BLE_Test.ino:4:

C:\Users...\Blynk\src/utility/BlynkFifo2.h: In member function 'T BlynkFifo<T, N>::peek()':

C:\Users...\Blynk\src/utility/BlynkFifo2.h:115:16: error: 'r' was not declared in this scope

     while (r == _w);

            ^

C:\Users...\Blynk\src/utility/BlynkFifo2.h:116:19: error: 'r' was not declared in this scope

     return _b[r];

               ^

exit status 1 Error compiling for board Arduino/Genuino 101.

vshymanskyy commented 6 years ago

Please try the latest master pranch