Update function names and file name

This commit is contained in:
Ken Van Hoeylandt 2025-09-02 22:57:46 +02:00
parent 5c068974ff
commit 3db3fcd8f7
2 changed files with 3 additions and 3 deletions

View File

@ -182,7 +182,7 @@ static bool unPhonePowerOn() {
return true; return true;
} }
bool unPhoneInitPower() { bool initBoot() {
ESP_LOGI(TAG, LOG_MESSAGE_POWER_ON_START); ESP_LOGI(TAG, LOG_MESSAGE_POWER_ON_START);
if (!unPhonePowerOn()) { if (!unPhonePowerOn()) {

View File

@ -7,7 +7,7 @@
#define UNPHONE_SPI_TRANSFER_SIZE_LIMIT (UNPHONE_LCD_HORIZONTAL_RESOLUTION * UNPHONE_LCD_SPI_TRANSFER_HEIGHT * LV_COLOR_DEPTH / 8) #define UNPHONE_SPI_TRANSFER_SIZE_LIMIT (UNPHONE_LCD_HORIZONTAL_RESOLUTION * UNPHONE_LCD_SPI_TRANSFER_HEIGHT * LV_COLOR_DEPTH / 8)
bool unPhoneInitPower(); bool initBoot();
static tt::hal::DeviceVector createDevices() { static tt::hal::DeviceVector createDevices() {
return { return {
@ -18,7 +18,7 @@ static tt::hal::DeviceVector createDevices() {
} }
extern const tt::hal::Configuration unPhone = { extern const tt::hal::Configuration unPhone = {
.initBoot = unPhoneInitPower, .initBoot = initBoot,
.createDevices = createDevices, .createDevices = createDevices,
.i2c = { .i2c = {
tt::hal::i2c::Configuration { tt::hal::i2c::Configuration {