repair adc base

This commit is contained in:
Kizarm 2024-03-07 13:55:30 +01:00
parent be6759c990
commit 7ed58d1151
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ DEL = rm -f
# zdrojaky # zdrojaky
OBJS = main.o adcclass.o OBJS = main.o adcclass.o
OBJS += usartclass.o print.o OBJS += usart.o print.o
include $(TARGET)/$(TOOL).mk include $(TARGET)/$(TOOL).mk
BOBJS = $(addprefix $(BLD),$(OBJS)) BOBJS = $(addprefix $(BLD),$(OBJS))

View file

@ -1,12 +1,12 @@
#include "gpio.h" #include "gpio.h"
#include "usartclass.h" #include "usart.h"
#include "print.h" #include "print.h"
#include "adcclass.h" #include "adcclass.h"
#include "oneway.h" #include "oneway.h"
////////////////////////////////////// //////////////////////////////////////
class Process : public OneWay { class Process : public OneWay {
GpioClass led; GpioClass led;
UsartClass serial; Usart serial;
Print cout; Print cout;
FIFO<uint16_t, 8> data; FIFO<uint16_t, 8> data;
int pass_cnt; int pass_cnt;