Skip to content

Commit e9e04b0

Browse files
committed
fix issue that causes master to turn on when off adjust is negative; bump minor revision number to 2; add explicit platformio espressif version number to indicate using esp8266 core 3.0.2
1 parent 5970a3a commit e9e04b0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ typedef unsigned long ulong;
3636
// if this number is different from the one stored in non-volatile memory
3737
// a device reset will be automatically triggered
3838

39-
#define OS_FW_MINOR 1 // Firmware minor version
39+
#define OS_FW_MINOR 2 // Firmware minor version
4040

4141
/** Hardware version base numbers */
4242
#define OS_HW_VERSION_BASE 0x00 // OpenSprinkler

main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,8 @@ void do_loop()
893893
// skip if this is the master station
894894
if (mas_id == sid + 1) continue;
895895

896+
if(pd.station_qid[sid]==255) continue; // skip if station is not in the queue
897+
896898
q = pd.queue + pd.station_qid[sid];
897899

898900
if (os.bound_to_master(q->sid, mas)) {

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ src_dir = .
1616
include_dir = .
1717

1818
[env:d1_mini]
19-
platform = espressif8266
19+
platform = espressif8266@3.2.0
2020
board = d1_mini
2121
framework = arduino
2222
lib_ldf_mode = deep

0 commit comments

Comments
 (0)