From e699b462f9723f724ae28a25e7696c2057a8e2ed Mon Sep 17 00:00:00 2001 From: anschrammh Date: Mon, 20 Jan 2020 08:20:23 +0100 Subject: [PATCH] Updated the ViewLink structure in order to be able to iterate backward --- src/app/definition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/definition.h b/src/app/definition.h index 8a7828d..55ef94f 100644 --- a/src/app/definition.h +++ b/src/app/definition.h @@ -48,7 +48,7 @@ typedef struct viewLink{ boolean (*viewLogicFunction)(Adafruit_SSD1306&, void*); void *pData; const int UID; - struct viewLink *next; + struct viewLink *next, *previous; } ViewLink, *ViewLinkedList; char *addChar(char *pointer, const char character);