mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-30 19:52:13 +01:00
Fixed return value of Bridge::get(..) (returning 0 also with valid data len >0)
This commit is contained in:
parent
fe6295e124
commit
583dafb576
@ -22,6 +22,7 @@ We suggest to delay the adoption of the new format until a stable 1.5.x is relea
|
||||
* avr: Fixed timeout in Bridge::transfer()
|
||||
* sam: Fixed SPI initialization (when using extended API and multiple CS)
|
||||
* avr: Fixed behavior of EthernetClient::flush()
|
||||
* avr: Fixed return value of Bridge::get(..) (returning 0 with valid data len >0)
|
||||
|
||||
[core]
|
||||
* sam: Fixed wrong initialization for ADC timings (analogRead speed Arduino DUE improved by a factor x10)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user