Improvements and fixes (#595)
- Fix BluetoothSettings app not updating when toggling on Bluetooth on - Fix BluetoothSettings app crash when closing while scanning - Fix BluetoothSettings app crash when turning BT off while scanning - WebServer doesn't save config anymore as a side-effect of reading the config - Add missing license headers - Use TactilityKernel's time and delay functions instead of TactilityFreeRtos ones
This commit is contained in:
committed by
GitHub
parent
e6e1dcd0ca
commit
bd108cc3c4
@@ -7,13 +7,13 @@ using namespace tt;
|
||||
|
||||
TEST_CASE("a Mutex can block a thread") {
|
||||
auto mutex = Mutex();
|
||||
CHECK_EQ(mutex.lock(kernel::MAX_TICKS), true);
|
||||
CHECK_EQ(mutex.lock(kernel::FREERTOS_MAX_TICKS), true);
|
||||
|
||||
Thread thread = Thread(
|
||||
"thread",
|
||||
1024,
|
||||
[&mutex] {
|
||||
mutex.lock(kernel::MAX_TICKS);
|
||||
mutex.lock(kernel::FREERTOS_MAX_TICKS);
|
||||
return 0;
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user