mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
- `TT_LOG_*` macros are replaced by `Logger` via `#include<Tactility/Logger.h>` - Changed default timezone to Europe/Amsterdam - Fix for logic bug in unPhone hardware - Fix for init/deinit in DRV2605 driver - Other fixes - Removed optimization that broke unPhone (disabled the moving of heap-related functions to flash)
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;
|
|
}
|