From dcb047ed930030ad861e46160c6e1a4b9e70853a Mon Sep 17 00:00:00 2001 From: akilhylton Date: Mon, 8 Jun 2020 21:46:48 -0400 Subject: [PATCH] Moved offset to adc driver --- board/driver/adc.h | 5 ++--- board/main.c | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/board/driver/adc.h b/board/driver/adc.h index 8eb5678..06147ca 100644 --- a/board/driver/adc.h +++ b/board/driver/adc.h @@ -1,8 +1,7 @@ #include #include +#define OFFSET 44 void adcInit(void); - //void getPSI(void); - -uint8_t adcStart(void); +//uint8_t adcStart(void); diff --git a/board/main.c b/board/main.c index 15223f6..78aeed0 100644 --- a/board/main.c +++ b/board/main.c @@ -2,7 +2,6 @@ #include "driver/usart.h" #include "driver/led.h" #include "driver/adc.h" -#define OFFSET 44 static FILE mystdout = FDEV_SETUP_STREAM(print, NULL, _FDEV_SETUP_RW);