From d84a97103fb2d2cad28402db31242d1dae3c7e67 Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Thu, 20 Sep 2012 15:12:02 +0100 Subject: [PATCH] cc2x3x stack debugging macro fix --- cpu/cc2430/stack.h | 1 - cpu/cc253x/stack.h | 1 - 2 files changed, 2 deletions(-) diff --git a/cpu/cc2430/stack.h b/cpu/cc2430/stack.h index 18caccd9c..6ee7442b6 100644 --- a/cpu/cc2430/stack.h +++ b/cpu/cc2430/stack.h @@ -52,7 +52,6 @@ extern CC_AT_DATA uint8_t sp; #define stack_max_sp_print(f) do { \ putstring(f); \ - sp = SP; \ puthex(stack_get_max()); \ putchar('\n'); \ } while(0) diff --git a/cpu/cc253x/stack.h b/cpu/cc253x/stack.h index 989875da4..16ceb92fa 100644 --- a/cpu/cc253x/stack.h +++ b/cpu/cc253x/stack.h @@ -52,7 +52,6 @@ extern CC_AT_DATA uint8_t sp; #define stack_max_sp_print(f) do { \ putstring(f); \ - sp = SP; \ puthex(stack_get_max()); \ putchar('\n'); \ } while(0)