Make #define NO_SCREEN work again

This commit is contained in:
Thomas Göttgens
2022-05-06 15:41:37 +02:00
parent 1812843363
commit b5cc304336
8 changed files with 20 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#ifdef NO_SCREEN
#include "power.h"
namespace graphics
{
// Noop class for boards without screen.
@@ -15,6 +16,8 @@ class Screen
void adjustBrightness(){}
void doDeepSleep() {}
void forceDisplay() {}
void startBluetoothPinScreen(uint32_t pin) {}
void stopBluetoothPinScreen() {}
};
}