Skip to content

Commit

Permalink
add (and fix) CPU Shutdown Flags
Browse files Browse the repository at this point in the history
  • Loading branch information
caveman99 committed Mar 12, 2023
1 parent c288974 commit 6d20215
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/platform/esp32/architecture.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
#ifndef HAS_RTC
#define HAS_RTC 1
#endif
#ifndef HAS_CPU_SHUTDOWN
#define HAS_CPU_SHUTDOWN 1
#endif

#if defined(HAS_AXP192) || defined(HAS_AXP2101)
#define HAS_PMU
Expand Down
2 changes: 1 addition & 1 deletion src/platform/nrf52/architecture.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#ifndef HAS_RADIO
#define HAS_RADIO 1
#endif
#ifdef HAS_CPU_SHUTDOWN
#ifndef HAS_CPU_SHUTDOWN
#define HAS_CPU_SHUTDOWN 1
#endif

Expand Down

0 comments on commit 6d20215

Please sign in to comment.