Skip to content

Commit 3876637

Browse files
committed
Software serial: compress edge detection buffer as soon as possible
Otherwise we're risking a bit of data loss occassionally.
1 parent f3d3317 commit 3876637

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

airrohr-firmware/Versions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
NRZ-2019-126-B6
22
* Read SDS011 version once on startup
3+
* Put software serial edge detection work within loop
34

45
NRZ-2019-126-B5
56
* Rename Luftdaten.info to Sensors.Community everywhere

airrohr-firmware/airrohr-firmware.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4486,6 +4486,7 @@ void loop(void) {
44864486
yield();
44874487
#if defined(ESP8266)
44884488
MDNS.update();
4489+
serialSDS.perform_work();
44894490
#endif
44904491

44914492
if (sample_count % 500 == 0) {

0 commit comments

Comments
 (0)