From 0f347db1287be9c7c051c53beee19fcbc7e54a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Fri, 27 Jan 2017 00:05:23 +0100 Subject: [PATCH] remove unnecessary things in main() --- main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 0e5a6cb..91b6d14 100644 --- a/main.c +++ b/main.c @@ -22,9 +22,7 @@ int main() { __DSB(); GPIOD->MODER = OUTPUT(12); SysTick_Config(8*1680000); - test(1,2,3,4,5,6,7,8,9,10); - //f_mount(&SDfs, "0:/",1); - //f_open(&file, "0:/meow.txt", FA_READ); + while(1); } @@ -32,7 +30,7 @@ int main() { void test(char a, char b, char c, char d, char e,char f, char g, char h, char i, char j) { gna(); - GPIOD->ODR ^= a+b+c+d+e+f+g+h+i+j; + //GPIOD->ODR ^= a+b+c+d+e+f+g+h+i+j; } void gna() { GPIOD->ODR = 0;