summaryrefslogtreecommitdiff
path: root/include/driver
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-01-14 22:00:16 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-14 22:00:16 +0100
commit480c55a52673f555ab774233fa482b700278cdd4 (patch)
tree6c3720e0201245c3acb70fdcd0bd702f994c388e /include/driver
parent5276faefe6ff6e529978d2839d762125e7fd78fa (diff)
MAX44006 driver: PWRON bit is 0x04, not 0x02
Diffstat (limited to 'include/driver')
-rw-r--r--include/driver/max44006.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/driver/max44006.h b/include/driver/max44006.h
index bd00458..4aac90f 100644
--- a/include/driver/max44006.h
+++ b/include/driver/max44006.h
@@ -23,7 +23,7 @@ class MAX44006 {
enum InterruptStatus {
AMBINTS = 0b00000001,
- PWRON = 0b00000010,
+ PWRON = 0b00000100,
SHDN = 0b00001000,
RESET = 0b00010000,
};