aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index e9a7b77..f0708bd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,4 +1,4 @@
-#include <stm32f0xx.h>
+#include "STM32F0xx.h"
// Quick and dirty delay
static void delay (unsigned int time) {
@@ -12,12 +12,6 @@ int main (void) {
// Put pin in general purpose output mode (B01)
GPIOA->MODER |= GPIO_MODER_MODER4_0;
- // Set the output type to push pull (B0 = default)
- // GPIOA->OTYPER = ~GPIO_OTYPER_OT_4;
- // Set the output speed to low (B00 = default)
- // GPIOA->OSPEEDR &= ~GPIO_OSPEEDER_OSPEEDR4;
- // Set the pull up/down resistors (B00 = default)
- // GPIOA->PUPDR &= ~GPIO_PUPDR_PUPDR4;
while (1) {
// Reset the bit for port A4