summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-05-29 14:52:56 +0200
committerDaniel Campora <daniel@wipy.io>2015-05-29 15:54:16 +0200
commit417205623a116e92af5f5bf210711bb78a27e6a4 (patch)
treeb981422dd44738225f1ab0ee2bfb294e2775bf66
parent2f2c0a13fbf3c31ce9a2e0da015e493eaf2f544e (diff)
downloadmicropython-417205623a116e92af5f5bf210711bb78a27e6a4.tar.gz
micropython-417205623a116e92af5f5bf210711bb78a27e6a4.zip
cc3200: Fix incorrect type for the wake cause variable.
-rw-r--r--cc3200/mods/pybsleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/mods/pybsleep.c b/cc3200/mods/pybsleep.c
index 8fe62a2e0b..ea35f3f772 100644
--- a/cc3200/mods/pybsleep.c
+++ b/cc3200/mods/pybsleep.c
@@ -125,7 +125,7 @@ STATIC nvic_reg_store_t *nvic_reg_store;
STATIC pybsleep_data_t pybsleep_data = {NULL, NULL, NULL, 0};
volatile arm_cm4_core_regs_t vault_arm_registers;
STATIC pybsleep_reset_cause_t pybsleep_reset_cause = PYB_SLP_PWRON_RESET;
-STATIC pybsleep_reset_cause_t pybsleep_wake_reason = PYB_SLP_WAKED_PWRON;
+STATIC pybsleep_wake_reason_t pybsleep_wake_reason = PYB_SLP_WAKED_PWRON;
/******************************************************************************
DECLARE PRIVATE FUNCTIONS