Fix turn off LEDs

This commit is contained in:
Djuri 2024-04-27 16:48:06 +02:00
parent ad0800c233
commit 4da04ca3ee
9 changed files with 254 additions and 37 deletions

View file

@ -20,6 +20,9 @@
#include "lib/screen_handler.hpp"
#include "lib/shared.hpp"
#include "lib/webserver.hpp"
#ifdef HAS_FRONTLIGHT
#include "PCA9685.h"
#endif
#define NTP_SERVER "pool.ntp.org"
#define DEFAULT_MEMPOOL_INSTANCE "mempool.space"
@ -42,6 +45,11 @@ void tryImprovSetup();
void setupTimers();
void finishSetup();
void setupMcp();
#ifdef HAS_FRONTLIGHT
void setupFrontlight();
extern PCA9685 flArray;
#endif
String getMyHostname();
std::vector<std::string> getScreenNameMap();