diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-11-30 22:05:17 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-11-30 22:05:17 +0100 |
commit | 5506d89d97db87f78ab2ba4715c4248a3d49f98f (patch) | |
tree | e4ef547d541968e552a6f521ab637084b253fa68 /fw/fe310/eos/i2c | |
parent | acce7d8e05ac38776d6340342f6a7868df4f7f28 (diff) |
startup code uses init/run
Diffstat (limited to 'fw/fe310/eos/i2c')
-rw-r--r-- | fw/fe310/eos/i2c/bq25895.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/eos/i2c/bq25895.c b/fw/fe310/eos/i2c/bq25895.c index b619fe3..ab2268b 100644 --- a/fw/fe310/eos/i2c/bq25895.c +++ b/fw/fe310/eos/i2c/bq25895.c @@ -8,7 +8,7 @@ #include "i2c/bq25895.h" int eos_bq25895_init(uint8_t wakeup_cause) { - int rst = (wakeup_cause == EOS_INIT_RST); + int rst = (wakeup_cause == EOS_PWR_WAKE_RST); int i, rv = EOS_OK; uint8_t data = 0; |