Merge develop into main (#353)
## TactilityC - Add `tt_lvgl_lock()` and `tt_lvgl_unlock()` - Add `tt_thread_set_affinity()` - Add support for STL symbols ## Other - Add `Thread::setAffinity()` - `GuiService`: replace `#define` with `constexpr` - Remove log storage and log app for now - Split up ELF symbols into more groups
This commit is contained in:
committed by
GitHub
parent
c7621b5e4c
commit
b214a3358e
@@ -95,9 +95,14 @@ void Thread::setStackSize(size_t newStackSize) {
|
||||
stackSize = newStackSize;
|
||||
}
|
||||
|
||||
void Thread::setAffinity(portBASE_TYPE newAffinity) {
|
||||
assert(state == State::Stopped);
|
||||
affinity = newAffinity;
|
||||
}
|
||||
|
||||
void Thread::setCallback(Callback callback, _Nullable void* callbackContext) {
|
||||
assert(state == State::Stopped);
|
||||
mainFunction = [callback, callbackContext]() {
|
||||
mainFunction = [callback, callbackContext] {
|
||||
return callback(callbackContext);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user