Skip to content

Commit

Permalink
fix: 修复继电器开关状态相反的问题
Browse files Browse the repository at this point in the history
版本v0.0.2
  • Loading branch information
a2633063 committed Aug 28, 2020
1 parent 340f443 commit 94e7e21
Show file tree
Hide file tree
Showing 9 changed files with 195,744 additions and 195,740 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ else
endif

BOOT?=new
APP?=1
APP?=2
SPI_SPEED?=40
SPI_MODE?=QIO
SPI_SIZE_MAP?=2
Expand Down
2 changes: 1 addition & 1 deletion app/include/user_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "os_type.h"

#define VERSION "v0.0.1"
#define VERSION "v0.0.2"

#define TYPE 7
#define TYPE_NAME "zMOPS"
Expand Down
2 changes: 1 addition & 1 deletion app/user/user_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ LOCAL struct single_key_param *single_key[GPIO_KEY_NUM];
void ICACHE_FLASH_ATTR
user_relay_set( char level) {
if (level != -1) {
GPIO_OUTPUT_SET(GPIO_ID_PIN(GPIO_RELAY_IO_NUM), !level);
GPIO_OUTPUT_SET(GPIO_ID_PIN(GPIO_RELAY_IO_NUM), level);
} else {
GPIO_OUTPUT_SET(GPIO_ID_PIN(GPIO_RELAY_IO_NUM), !GPIO_INPUT_GET(GPIO_ID_PIN(GPIO_RELAY_IO_NUM)));
}
Expand Down
120,225 changes: 60,114 additions & 60,111 deletions bin/upgrade/user1.1024.new.2.S

Large diffs are not rendered by default.

Binary file modified bin/upgrade/user1.1024.new.2.bin
Binary file not shown.
75,519 changes: 37,759 additions & 37,760 deletions bin/upgrade/user1.1024.new.2.dump

Large diffs are not rendered by default.

120,215 changes: 60,109 additions & 60,106 deletions bin/upgrade/user2.1024.new.2.S

Large diffs are not rendered by default.

Binary file modified bin/upgrade/user2.1024.new.2.bin
Binary file not shown.
75,519 changes: 37,759 additions & 37,760 deletions bin/upgrade/user2.1024.new.2.dump

Large diffs are not rendered by default.

0 comments on commit 94e7e21

Please sign in to comment.