mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-18 17:35:05 +00:00
Update function names and file name
This commit is contained in:
parent
5c068974ff
commit
3db3fcd8f7
@ -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()) {
|
||||||
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user