File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 99
1010in-progress
1111===========
12+ - Try to fix :ref: `scale-adjust-firmware ` regarding ESP8266 compatibility again
13+
1214
1315.. _version-0.15.0 :
1416
Original file line number Diff line number Diff line change @@ -290,9 +290,9 @@ void outputStatistic(int decimal) {
290290// Poll serial port until anything is received
291291void serial_poll () {
292292 while (!Serial.available ()) {
293- #if ARDUINO_VERSION > 106
294293 // "yield" is not implemented as noop in older Arduino Core releases
295294 // See also: https://stackoverflow.com/questions/34497758/what-is-the-secret-of-the-arduino-yieldfunction/34498165#34498165
295+ #if !(ARDUINO_VERSION <= 106) || ARDUINO >= 10605 || defined(ESP8266)
296296 yield ();
297297 #endif
298298 };
Original file line number Diff line number Diff line change @@ -278,9 +278,9 @@ void outputStatistic(int decimal) {
278278// Poll serial port until anything is received
279279void serial_poll () {
280280 while (!Serial.available ()) {
281- #if ARDUINO_VERSION > 106
282281 // "yield" is not implemented as noop in older Arduino Core releases
283282 // See also: https://stackoverflow.com/questions/34497758/what-is-the-secret-of-the-arduino-yieldfunction/34498165#34498165
283+ #if !(ARDUINO_VERSION <= 106) || ARDUINO >= 10605 || defined(ESP8266)
284284 yield ();
285285 #endif
286286 };
You can’t perform that action at this time.
0 commit comments