Added defines
This commit is contained in:
parent
dafc690ef7
commit
e7efa2d957
@ -32,6 +32,7 @@ typedef enum { GPIO_0 = 0,
|
||||
|
||||
#define NO_CURRENT_VIEW NULL
|
||||
#define LAST_VIEW -1
|
||||
#define RESERVED_VIEW_UID -2
|
||||
|
||||
#define BATT_FULL 870 //8.4v
|
||||
#define BATT_EMPTY 775 //7.4v
|
||||
@ -48,8 +49,7 @@ typedef enum { BATTERY = 0, USB } PowerType;
|
||||
typedef struct viewLink{
|
||||
boolean (*viewLogicFunction)(Adafruit_SSD1306&, void*);
|
||||
void *pData;
|
||||
const unsigned char UID;
|
||||
|
||||
const int UID;
|
||||
struct viewLink *next;
|
||||
} ViewLink, *ViewLinkedList;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user