code beautifying

This commit is contained in:
Wolfgang Hottgenroth
2017-06-07 22:15:54 +02:00
parent 6a7b54dcc1
commit c0e370c802
8 changed files with 30 additions and 20 deletions

View File

@ -16,21 +16,18 @@
#include <hmi.h>
#include <stdlib.h>
#include <PontCoopScheduler.h>
#include "stm32f1xx_hal.h"
#include "oled.h"
#include "timer.h"
#include "display.h"
extern tDisplay display;
void my_setup_1() {
schInit();
schAdd(updateDisplay, &display, 0, 250);
schAdd(secondTick, &display, 0, 1000);
}
void my_loop() {
@ -47,7 +44,9 @@ void my_errorHandler() {
}
void my_setup_2() {
LED_Init();
hmiInit();
timerInit();
oledInit();
}