Skip to content

Commit

Permalink
Fix esp platform names
Browse files Browse the repository at this point in the history
Signed-off-by: Sara Damiano <[email protected]>
  • Loading branch information
SRGDamia1 committed Aug 12, 2024
1 parent a71ae13 commit a2eaa8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 1 addition & 4 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@
],
"license": "BSD-3-Clause",
"frameworks": "arduino",
"platforms": [
"atmelavr",
"atmelsam"
],
"platforms": ["atmelavr", "atmelsam", "espressif8266", "espressif32"],
"export": {
"exclude": ["doc/*"]
},
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ sentence=An Arduino library for SDI-12 communication with a wide variety of envi
paragraph=This library provides a general software solution, without requiring any additional hardware.
category=Communication
url=https://github.com/EnviroDIY/Arduino-SDI-12
architectures=avr,sam,samd,espressif
architectures=avr,sam,samd,esp8266,esp32
includes=SDI12.h
3 changes: 2 additions & 1 deletion src/SDI12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,8 @@ void ISR_MEM_ACCESS SDI12::receiveISR() {
// character (but have gotten all the data bits) then this should be a
// stop bit and we can start looking for a new start bit.
if ((pinLevel == LOW) || !nextCharStarted) {
rxState = WAITING_FOR_START_BIT; // reset the rx state, stop waiting for stop bit
rxState =
WAITING_FOR_START_BIT; // reset the rx state, stop waiting for stop bit
} else {
// If we just switched to HIGH, or we've exceeded the total number of
// bits in a character, then the character must have ended with 1's/LOW,
Expand Down

0 comments on commit a2eaa8b

Please sign in to comment.