Fixes and improvements (#185)
- unPhone improvements related to power and boot (add boot count logging) - Cleanup of Mutex acquire/release - Removed `tt_assert()` in favour of `assert()` - Fix sim build (likely failed due to migration of GitHub Actions to Ubuntu 24.04)
This commit is contained in:
committed by
GitHub
parent
3be251d8fb
commit
d86dc40472
@@ -101,7 +101,7 @@ void GpioApp::onTimer(TT_UNUSED std::shared_ptr<void> context) {
|
||||
|
||||
void GpioApp::startTask() {
|
||||
lock();
|
||||
tt_assert(timer == nullptr);
|
||||
assert(timer == nullptr);
|
||||
timer = std::make_unique<Timer>(
|
||||
Timer::Type::Periodic,
|
||||
&onTimer
|
||||
@@ -111,7 +111,7 @@ void GpioApp::startTask() {
|
||||
}
|
||||
|
||||
void GpioApp::stopTask() {
|
||||
tt_assert(timer);
|
||||
assert(timer);
|
||||
|
||||
timer->stop();
|
||||
timer = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user