- fifo ommit memcpy

- volatilize

git-svn-id: http://moon:8086/svn/projects/HendiControl@35 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-03-02 13:31:52 +00:00
parent f5391f55e9
commit a94413670a
5 changed files with 32 additions and 26 deletions
+2 -2
View File
@@ -11,8 +11,8 @@
#include "adc.h"
#include "message.h"
static int16_t adc_value[16];
static size_t adc_ch = 0;
static volatile int16_t adc_value[16];
static volatile size_t adc_ch = 0;
static Fifo *g_pFifo = NULL;
ISR(ADC_vect)