PPR1 fix screen mirroring on LCD

This commit is contained in:
Kevin Hester
2020-10-24 08:16:15 +08:00
parent 18bbf3523e
commit 0767c8be03
7 changed files with 34 additions and 9 deletions

View File

@@ -21,6 +21,11 @@
#include "power.h"
#include <string>
// 0 to 255, though particular variants might define different defaults
#ifndef BRIGHTNESS_DEFAULT
#define BRIGHTNESS_DEFAULT 150
#endif
namespace graphics
{
@@ -99,7 +104,7 @@ class Screen : public concurrency::OSThread
// Implementation to Adjust Brightness
void adjustBrightness();
uint8_t brightness = 150;
uint8_t brightness = BRIGHTNESS_DEFAULT;
/// Starts showing the Bluetooth PIN screen.
//