mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
16 lines
308 B
C++
16 lines
308 B
C++
#include "PwmBacklight.h"
|
|
#include "Tactility/service/gps/GpsService.h"
|
|
|
|
#include <Tactility/TactilityCore.h>
|
|
|
|
#define TAG "T-Dongle"
|
|
|
|
bool initBoot() {
|
|
if (!driver::pwmbacklight::init(GPIO_NUM_38, 12000)) {
|
|
TT_LOG_E(TAG, "Backlight init failed");
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|