Various fixes and improvements (#269)
- Bump version for next release - Fix default gamma for CYD 2432S032C - Remember gamma curve setting from Display settings app - Add UART to Core2 (still has no voltage on Grove port, though) - LVGL performance improvements: pin to second core and set task priority to "critical" - Fix build warnings, including deprecations - Removed deprecated `Thread` constructor - Fix WaveShare S3 display: Some displays would show a white screen at 12MHz, so I'm putting it back to the official config values.
This commit is contained in:
committed by
GitHub
parent
eb4e9f9649
commit
08029a84dd
@@ -4,12 +4,6 @@
|
||||
|
||||
using namespace tt;
|
||||
|
||||
static int32_t thread_with_mutex_parameter(void* parameter) {
|
||||
auto* mutex = (Mutex*)parameter;
|
||||
mutex->lock(portMAX_DELAY);
|
||||
return 0;
|
||||
}
|
||||
|
||||
TEST_CASE("a mutex can block a thread") {
|
||||
auto mutex = Mutex(Mutex::Type::Normal);
|
||||
mutex.lock(portMAX_DELAY);
|
||||
@@ -17,8 +11,10 @@ TEST_CASE("a mutex can block a thread") {
|
||||
Thread thread = Thread(
|
||||
"thread",
|
||||
1024,
|
||||
&thread_with_mutex_parameter,
|
||||
&mutex
|
||||
[&mutex]() {
|
||||
mutex.lock(portMAX_DELAY);
|
||||
return 0;
|
||||
}
|
||||
);
|
||||
thread.start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user