Unified the default configuration/setting values and parameters into one header file.

This commit is contained in:
GeminiServer
2020-03-15 14:45:52 +01:00
parent fddf24b7ff
commit 0461fd0a26
6 changed files with 1819 additions and 1734 deletions

View File

@@ -10,6 +10,7 @@
#include <stdlib.h>
#include "Translation.h"
#include "cmsis_os.h"
#include "../../configuration.h"
const uint8_t *OLED::currentFont; // Pointer to the current font used for
// rendering to the buffer
@@ -65,7 +66,7 @@ void OLED::initialize() {
cursor_x = cursor_y = 0;
currentFont = USER_FONT_12;
fontWidth = 12;
inLeftHandedMode = false;
inLeftHandedMode = IN_LEFT_HANDED_MODE;
firstStripPtr = &screenBuffer[FRAMEBUFFER_START];
secondStripPtr = &screenBuffer[FRAMEBUFFER_START + OLED_WIDTH];
fontHeight = 16;