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.83k stars 1.39k forks source link

Fix 'T peek(void)' function #368

Closed patrickgardella closed 6 years ago

patrickgardella commented 6 years ago

The 'T peek(void)' function was missing the declaration for the 'r' variable, resulting in an error.

Declared the 'r' variable in scope.

Description

This change fixes a bug in the peek function where the 'r' variable was not declared.

Issues Resolved

None on Github that I found, but I thought I'd fix the problem while reporting it.

vshymanskyy commented 6 years ago

Thank you for your PR, but we have already staged it for an update - so can't accept it. Anyway, I'd be glad to accept your further contributions!