mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 03:13:14 +00:00
17 lines
368 B
C++
17 lines
368 B
C++
#include "PwmBacklight.h"
|
|
|
|
#include <Tactility/Logger.h>
|
|
#include <Tactility/service/gps/GpsService.h>
|
|
#include <Tactility/TactilityCore.h>
|
|
|
|
static const auto LOGGER = tt::Logger("T-Dongle S3");
|
|
|
|
bool initBoot() {
|
|
if (!driver::pwmbacklight::init(GPIO_NUM_38, 12000)) {
|
|
LOGGER.error("Backlight init failed");
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|