changed axp init value for N_OE timeout

This commit is contained in:
Vincent-FK 2020-01-14 17:07:23 +08:00
parent edd81b6042
commit 68376473ce
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ bool axp209_init(void) {
} }
/* Set N_OE Shutdown delay to 3S*/ /* Set N_OE Shutdown delay to 3S*/
err = i2c_smbus_write_byte_data(fd_axp209 , AXP209_REG_32H, 0x43); err = i2c_smbus_write_byte_data(fd_axp209 , AXP209_REG_32H, 0x47);
if(err < 0){ if(err < 0){
printf("ERROR Setting AXP209 N_OE Shutdown delay to 3S\n"); printf("ERROR Setting AXP209 N_OE Shutdown delay to 3S\n");
} }

View File

@ -22,7 +22,7 @@
return(EXIT_FAILURE); \ return(EXIT_FAILURE); \
} while(0) } while(0)
#define DEBUG_GPIO_PRINTF (0) #define DEBUG_GPIO_PRINTF (1)
#define DEBUG_PERIODIC_CHECK_PRINTF (0) #define DEBUG_PERIODIC_CHECK_PRINTF (0)
#define ERROR_GPIO_PRINTF (1) #define ERROR_GPIO_PRINTF (1)