Moved functions from definition to utilities
This commit is contained in:
parent
46b246c270
commit
08afbad156
@ -42,21 +42,4 @@ typedef enum { GPIO_0 = 0,
|
|||||||
typedef enum { OR_0 = 2, OR_90 = 3, OR_180 = 0, OR_270 = 1 } Orientation;
|
typedef enum { OR_0 = 2, OR_90 = 3, OR_180 = 0, OR_270 = 1 } Orientation;
|
||||||
|
|
||||||
typedef enum { BIT = 0, BYTE, KBIT, KBYTE, MBIT, MBYTE, GBIT, GBYTE } SizeUnit;
|
typedef enum { BIT = 0, BYTE, KBIT, KBYTE, MBIT, MBYTE, GBIT, GBYTE } SizeUnit;
|
||||||
|
|
||||||
//Data structure for the view handling
|
|
||||||
typedef struct viewLink{
|
|
||||||
boolean (*viewLogicFunction)(Adafruit_SSD1306&, void*);
|
|
||||||
void *pData;
|
|
||||||
const int UID;
|
|
||||||
struct viewLink *next, *previous;
|
|
||||||
} ViewLink, *ViewLinkedList;
|
|
||||||
|
|
||||||
char *addChar(char *pointer, const char character);
|
|
||||||
|
|
||||||
char *lastIndexOf(char *str, const char character);
|
|
||||||
|
|
||||||
char *dateTimeFormater(char *pointer, const uint8_t value, const char character);
|
|
||||||
|
|
||||||
uint32_t monthNumTo3LetterAbbreviation(const uint8_t monthNumber);
|
|
||||||
|
|
||||||
#endif //DEFINITION_H
|
#endif //DEFINITION_H
|
||||||
|
Loading…
Reference in New Issue
Block a user