Reintroduce AvgAdv, avoid *64 as it could easily overflow

This reverts partly commit 9189dc8563.
This commit is contained in:
Philippe Teuwen 2020-06-10 00:06:18 +02:00
commit 0ce3be2f34
3 changed files with 15 additions and 11 deletions

View file

@ -30,6 +30,7 @@ void send_wtx(uint16_t wtx);
void ReadMem(int addr);
void __attribute__((noreturn)) AppMain(void);
uint16_t AvgAdc(int ch);
uint16_t SumAdc(int ch, int NbSamples);
//void PrintToSendBuffer(void);