From b18e2fb04d94a8c9d4a9fd4c54c75baad8fa1e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Thu, 3 Nov 2022 22:18:17 +0100 Subject: [PATCH] auto-detect override settings --- config.proto | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/config.proto b/config.proto index 631f6d8..04dbefe 100644 --- a/config.proto +++ b/config.proto @@ -399,6 +399,27 @@ message Config { */ IMPERIAL = 1; } + + /* + * Override OLED outo detect with this if it fails. + */ + enum OledType { + + /* + * Default / Auto + */ + OLED_AUTO = 0; + + /* + * Default / Auto + */ + OLED_SSD1306 = 1; + + /* + * Default / Auto + */ + OLED_SH1106 = 2; + } /* * Number of seconds the screen stays on after pressing the user button or receiving a message @@ -432,6 +453,11 @@ message Config { * Perferred display units */ DisplayUnits units = 6; + + /* + * Override auto-detect in screen + */ + OledType oled = 7; } /*