mirror of
https://github.com/FunKey-Project/FunKey-GPIO-Mapping.git
synced 2025-12-12 09:48:51 +01:00
changed axp init value for N_OE timeout
This commit is contained in:
parent
edd81b6042
commit
68376473ce
@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user