forked from xuos/xiuos
repair the pin read of E18 for zigbee
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user