File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ We suggest to delay the adoption of the new format until a stable 1.5.x is relea
2222* avr: Fixed timeout in Bridge::transfer()
2323* sam: Fixed SPI initialization (when using extended API and multiple CS)
2424* avr: Fixed behavior of EthernetClient::flush()
25+ * avr: Fixed return value of Bridge::get(..) (returning 0 with valid data len >0)
2526
2627[core]
2728* sam: Fixed wrong initialization for ADC timings (analogRead speed Arduino DUE improved by a factor x10)
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class BridgeClass {
3636 unsigned int get (const char *key, uint8_t *buff, unsigned int size);
3737 unsigned int get (const char *key, char *value, unsigned int maxlen)
3838 {
39- get (key, reinterpret_cast <uint8_t *>(value), maxlen);
39+ return get (key, reinterpret_cast <uint8_t *>(value), maxlen);
4040 }
4141
4242 // Trasnfer a frame (with error correction and response)
You can’t perform that action at this time.
0 commit comments