diff options
Diffstat (limited to 'demos/ARMCM3-STM32F103-GCC/board.h')
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F103-GCC/board.h b/demos/ARMCM3-STM32F103-GCC/board.h index a1a0080ef..98a82bc94 100644 --- a/demos/ARMCM3-STM32F103-GCC/board.h +++ b/demos/ARMCM3-STM32F103-GCC/board.h @@ -70,7 +70,7 @@ #define CR_HSION_MASK (0x1 << 0)
#define CR_HSIRDY_MASK (0x1 << 1)
#define CR_HSITRIM_MASK (0x1F << 3)
-#define HSITRIM_RESET_BITS (1 << 3)
+#define HSITRIM_RESET_BITS (0x10 << 3)
#define CR_HSICAL_MASK (0xFF << 8)
#define CR_HSEON_MASK (0x1 << 16)
#define CR_HSERDY_MASK (0x1 << 17)
|