From 08afbad156da9816a0ea3bba8aef50107b0e0c9e Mon Sep 17 00:00:00 2001 From: anschrammh Date: Sat, 19 Dec 2020 20:51:34 +0100 Subject: [PATCH] Moved functions from definition to utilities --- src/app/definition.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/app/definition.h b/src/app/definition.h index c192ec4..6b66e5f 100644 --- a/src/app/definition.h +++ b/src/app/definition.h @@ -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 { 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