repair the pin read of E18 for zigbee

This commit is contained in:
Wang_Weigen
2022-04-14 15:18:45 +08:00
parent 0605f45908
commit cd13e10f58
3 changed files with 5 additions and 5 deletions
@@ -56,7 +56,7 @@ static int E18HardwareModeGet()
PrivClose(pin_fd);
if(pin_stat.pin == GPIO_HIGH) {
if(pin_stat.val == GPIO_HIGH) {
printf(" E18 as AT mode\n");
return E18_AS_AT_MODE;
} else {