Merge develop into main (#318)
- Disable `DisplayDriver` for `St7701Display` (on CYD 4848) - Improve `GraphicsDemo`: check for feature capability and show alert dialog if there's an issue - `DevelopmentService` installs to `/data` instead of `/sdcard` - Fixed `tt_app_get_data_directory()` and `tt_app_get_data_directory_lvgl()` (C++ to C) - `tt_kernel.h` now defines `MAX_TICKS` - `tt_init.cpp` now exports `esp_log()` which is required since ESP-IDF 5.5
This commit is contained in:
committed by
GitHub
parent
a9b69010d8
commit
c0ed8f0a44
@@ -29,7 +29,7 @@ bool tt_app_has_result(AppHandle handle);
|
||||
* @param[out] buffer the output buffer (recommended size is 256 bytes)
|
||||
* @param[inout] size used as input for maximum buffer size (including null terminator) and is set with the path string length by this function
|
||||
*/
|
||||
void tt_app_get_data_directory(AppPathsHandle handle, char* buffer, size_t& size);
|
||||
void tt_app_get_data_directory(AppPathsHandle handle, char* buffer, size_t* size);
|
||||
|
||||
/** Get the path to the data directory of this app, with LVGL drive letter prefix applied.
|
||||
* The recommended buffer size is 256 bytes.
|
||||
@@ -37,7 +37,7 @@ void tt_app_get_data_directory(AppPathsHandle handle, char* buffer, size_t& size
|
||||
* @param[out] buffer the output buffer (recommended size is 256 bytes)
|
||||
* @param[inout] size used as input for maximum buffer size (including null terminator) and is set with the path string length by this function
|
||||
*/
|
||||
void tt_app_get_data_directory_lvgl(AppPathsHandle handle, char* buffer, size_t& size);
|
||||
void tt_app_get_data_directory_lvgl(AppPathsHandle handle, char* buffer, size_t* size);
|
||||
|
||||
/**
|
||||
* Start an app by id.
|
||||
|
||||
@@ -8,6 +8,8 @@ extern "C" {
|
||||
|
||||
typedef unsigned long TickType;
|
||||
|
||||
#define MAX_TICKS INT32_MAX
|
||||
|
||||
/**
|
||||
* Stall the current task for the specified amount of time.
|
||||
* @param milliseconds the time in milliseconds to stall.
|
||||
|
||||
Reference in New Issue
Block a user