diff options
Diffstat (limited to 'firmware/drivers/pcf50606.c')
-rw-r--r-- | firmware/drivers/pcf50606.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/drivers/pcf50606.c b/firmware/drivers/pcf50606.c index 6fb2840bca..6a98b0d021 100644 --- a/firmware/drivers/pcf50606.c +++ b/firmware/drivers/pcf50606.c | |||
@@ -55,3 +55,10 @@ void pcf50606_init(void) | |||
55 | { | 55 | { |
56 | // TODO | 56 | // TODO |
57 | } | 57 | } |
58 | |||
59 | void pcf50606_reset_timeout(void) | ||
60 | { | ||
61 | int level = disable_irq_save(); | ||
62 | pcf50606_write(PCF5060X_OOCC1, pcf50606_read(PCF5060X_OOCC1) | TOTRST); | ||
63 | restore_irq(level); | ||
64 | } | ||