cleanup
This commit is contained in:
12
main.c
12
main.c
@@ -1,11 +1,9 @@
|
||||
#include <avr/io.h>
|
||||
#include <avr/interrupt.h>
|
||||
#include <avr/wdt.h> // WatchDog
|
||||
#include <avr/wdt.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "common.h"
|
||||
|
||||
#include "Ethernet/socket.h"
|
||||
#include "Ethernet/wizchip_conf.h"
|
||||
|
||||
@@ -17,9 +15,9 @@
|
||||
#include "uart.h"
|
||||
#include "spi.h"
|
||||
#include "mqtt.h"
|
||||
#include "common.h"
|
||||
|
||||
#include "util/delay.h"
|
||||
|
||||
#include "notaus.h"
|
||||
#include "kraftsensor.h"
|
||||
#include "taenzer.h"
|
||||
#include "abzug.h"
|
||||
@@ -44,8 +42,6 @@ void get_mcusr(void)
|
||||
|
||||
//FUNC headers
|
||||
static void avr_init(void);
|
||||
void timer0_init(void);
|
||||
void timer3_init(void);
|
||||
void print_network_information(void);
|
||||
|
||||
void IO_LIBRARY_Init(void) {
|
||||
@@ -107,8 +103,10 @@ int main()
|
||||
kraftsensor_init();
|
||||
|
||||
printf("moin!\n\r");
|
||||
//timer0_init();
|
||||
timer3_init();
|
||||
timer4_init();
|
||||
timer5_init();
|
||||
|
||||
ioHelperInitBuffer();
|
||||
ioHelperIoConf();
|
||||
|
||||
Reference in New Issue
Block a user