Boot splash and more (#98)
* Boot splash and more - Added developer sdkconfig - Refactored the way FreeRTOS includes are included - Improved Gui/Loader logic - Implemented boot app with splash screen * Updated naming for Gui and Loader services * Renamed Screenshot service methods * Renames * Service renames
This commit is contained in:
committed by
GitHub
parent
3f62ec2efa
commit
0188ce721c
@@ -14,7 +14,7 @@ TEST_CASE("dispatcher should not call callback if consume isn't called") {
|
||||
|
||||
uint32_t counter = 0;
|
||||
dispatcher.dispatch(&increment_callback, &counter);
|
||||
delay_tick(10);
|
||||
delay_ticks(10);
|
||||
|
||||
CHECK_EQ(counter, 0);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ TEST_CASE("a timer passes the context correctly") {
|
||||
int foo = 1;
|
||||
auto* timer = new Timer(Timer::TypeOnce, &timer_callback_with_context, &foo);
|
||||
timer->start(1);
|
||||
delay_tick(10);
|
||||
delay_ticks(10);
|
||||
timer->stop();
|
||||
delete timer;
|
||||
|
||||
@@ -29,10 +29,10 @@ TEST_CASE("TimerTypePeriodic timers can be stopped and restarted") {
|
||||
int counter = 0;
|
||||
auto* timer = new Timer(Timer::TypePeriodic, &timer_callback_with_counter, &counter);
|
||||
timer->start(1);
|
||||
delay_tick(10);
|
||||
delay_ticks(10);
|
||||
timer->stop();
|
||||
timer->start(1);
|
||||
delay_tick(10);
|
||||
delay_ticks(10);
|
||||
timer->stop();
|
||||
delete timer;
|
||||
|
||||
@@ -44,7 +44,7 @@ TEST_CASE("TimerTypePeriodic calls the callback periodically") {
|
||||
int ticks_to_run = 10;
|
||||
auto* timer = new Timer(Timer::TypePeriodic, &timer_callback_with_counter, &counter);
|
||||
timer->start(1);
|
||||
delay_tick(ticks_to_run);
|
||||
delay_ticks(ticks_to_run);
|
||||
timer->stop();
|
||||
delete timer;
|
||||
|
||||
@@ -55,10 +55,10 @@ TEST_CASE("restarting TimerTypeOnce timers calls the callback again") {
|
||||
int counter = 0;
|
||||
auto* timer = new Timer(Timer::TypeOnce, &timer_callback_with_counter, &counter);
|
||||
timer->start(1);
|
||||
delay_tick(10);
|
||||
delay_ticks(10);
|
||||
timer->stop();
|
||||
timer->start(1);
|
||||
delay_tick(10);
|
||||
delay_ticks(10);
|
||||
timer->stop();
|
||||
delete timer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user