From 417205623a116e92af5f5bf210711bb78a27e6a4 Mon Sep 17 00:00:00 2001
From: Daniel Campora <daniel@wipy.io>
Date: Fri, 29 May 2015 14:52:56 +0200
Subject: [PATCH] cc3200: Fix incorrect type for the wake cause variable.

---
 cc3200/mods/pybsleep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc3200/mods/pybsleep.c b/cc3200/mods/pybsleep.c
index 8fe62a2e0..ea35f3f77 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
-- 
GitLab