mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-20 21:01:25 +03:00
Fixed return value of Bridge::get(..) (returning 0 also with valid data len >0)
This commit is contained in:
@ -36,7 +36,7 @@ class BridgeClass {
|
||||
unsigned int get(const char *key, uint8_t *buff, unsigned int size);
|
||||
unsigned int get(const char *key, char *value, unsigned int maxlen)
|
||||
{
|
||||
get(key, reinterpret_cast<uint8_t *>(value), maxlen);
|
||||
return get(key, reinterpret_cast<uint8_t *>(value), maxlen);
|
||||
}
|
||||
|
||||
// Trasnfer a frame (with error correction and response)
|
||||
|
Reference in New Issue
Block a user