1
0

Cleanup
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jens True 2021-11-03 15:01:30 +00:00
parent 517abe3696
commit 1fa8b9d997
2 changed files with 7 additions and 1 deletions

@ -29,6 +29,10 @@ private:
* Internal helper for printing debug strings * Internal helper for printing debug strings
*/ */
void debugWrite(int x, int y, const char *text); void debugWrite(int x, int y, const char *text);
/**
* Display instance
*/
DisplayProxy *display; DisplayProxy *display;
}; };

@ -1,5 +1,5 @@
/** /**
* \file main.cpp * \file
* Main application entry point. * Main application entry point.
* Arduino Style but still a .cpp file * Arduino Style but still a .cpp file
*/ */
@ -10,7 +10,9 @@
#include "CommandHandler.h" #include "CommandHandler.h"
#include "DisplayProxyMAX7456.h" #include "DisplayProxyMAX7456.h"
/// The display instance
DisplayProxyMAX7456 display; DisplayProxyMAX7456 display;
//The commandhandler needs a reference to the display instance
CommandHandler cmd_handler(&display); CommandHandler cmd_handler(&display);
/** /**