mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
To avoid keeping track of a list that maps board project names to board ids. Because of this change, we don't have to manually edit `boards.cmake` anymore when adding a new board.
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;
|
|
}
|