Fix addressing & remove compile script

- Fixed adderssing to start at 1 vs 0
- Removed my compile script
This commit is contained in:
Christopher Tremblay 2020-10-18 05:19:04 -07:00
parent d8b8636a44
commit 8fda70643b
2 changed files with 1 additions and 2 deletions

1
c
View File

@ -1 +0,0 @@
platformio run -e tasmota --target upload --upload-port /dev/ttyS4

View File

@ -71,7 +71,7 @@ struct EZOStruct {
// Figure out if we're trying to address a specific device
// PS: This should ideally be done through the Tasmota mailbox
if (at[0] == '-') {
uint32_t idx = atoi(&at[1]);
uint32_t idx = atoi(&at[1]) - 1;
at = strchr(at, ' ');
if (!at++) {