From a00bf9944d419432c633dcdfd27dba06b0f71842 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Thu, 10 May 2012 16:04:09 -0400 Subject: libmaple/iwdg.h: Remove BIT() usages. This cleans up another unnecessary dependency. Signed-off-by: Marti Bolivar --- libmaple/include/libmaple/iwdg.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libmaple/include/libmaple/iwdg.h b/libmaple/include/libmaple/iwdg.h index 0aef8fd..3a16c55 100644 --- a/libmaple/include/libmaple/iwdg.h +++ b/libmaple/include/libmaple/iwdg.h @@ -46,7 +46,6 @@ extern "C"{ #endif #include -#include /* * Register map @@ -88,8 +87,8 @@ typedef struct iwdg_reg_map { #define IWDG_SR_RVU_BIT 1 #define IWDG_SR_PVU_BIT 0 -#define IWDG_SR_RVU BIT(IWDG_SR_RVU_BIT) -#define IWDG_SR_PVU BIT(IWDG_SR_PVU_BIT) +#define IWDG_SR_RVU (1U << IWDG_SR_RVU_BIT) +#define IWDG_SR_PVU (1U << IWDG_SR_PVU_BIT) /** * @brief Independent watchdog prescalers. -- cgit v1.2.3