Badger2040W: Correct wakeup LED.

This commit is contained in:
Phil Howard 2023-01-31 15:53:41 +00:00 committed by Phil Howard
parent cbcd9edd9a
commit 3a2a43f4b3
1 changed files with 3 additions and 3 deletions

View File

@ -16,17 +16,17 @@ index 70dd3bb..b8c1ed0 100644
+// Pins to toggle on wakeup
+#ifndef PICO_WAKEUP_PIN_MASK
+#define PICO_WAKEUP_PIN_MASK ((0b1 << 10) | (0b1 << 25))
+#define PICO_WAKEUP_PIN_MASK ((0b1 << 10) | (0b1 << 22))
+#endif
+
+// Direction
+#ifndef PICO_WAKEUP_PIN_DIR
+#define PICO_WAKEUP_PIN_DIR ((0b1 << 10) | (0b1 << 25))
+#define PICO_WAKEUP_PIN_DIR ((0b1 << 10) | (0b1 << 22))
+#endif
+
+// Value
+#ifndef PICO_WAKEUP_PIN_VALUE
+#define PICO_WAKEUP_PIN_VALUE ((0b1 << 10) | (0b1 << 25))
+#define PICO_WAKEUP_PIN_VALUE ((0b1 << 10) | (0b1 << 22))
+#endif
+
extern char __StackLimit; /* Set by linker. */