16 lines
196 B
C
16 lines
196 B
C
|
|
||
|
#ifndef APP_H__
|
||
|
#define APP_H__
|
||
|
|
||
|
#include <communication.h>
|
||
|
#include "adc.h"
|
||
|
#include <slave/slave.h>
|
||
|
|
||
|
struct app {
|
||
|
slave_t state;
|
||
|
adc_sample_t adc_buffer[5];
|
||
|
};
|
||
|
|
||
|
extern struct app app;
|
||
|
|
||
|
#endif
|