Init the ADC.

This commit is contained in:
László Monda
2017-05-08 02:19:20 +02:00
parent 1fb3c8b132
commit 13e0d02574
2 changed files with 12 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#include "peripherals/merge_sensor.h"
#include "led_pwm.h"
#include "slave_scheduler.h"
#include "peripherals/adc.h"
volatile uint32_t temp, counter;
@@ -52,6 +53,7 @@ void InitPeripherials(void)
{
InitResetButton();
InitMergeSensor();
ADC_Init();
InitI2c();
InitTestLed();
#if UHK_PCB_MAJOR_VERSION >= 7