Skip to content

Commit 97a5ad6

Browse files
committed
⚡ (spikes): LogKit - update timing for better reading of output
1 parent 1a9213c commit 97a5ad6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spikes/lk_log_kit/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ auto main() -> int
5555
// log_from_isr();
5656
};
5757

58-
// ticker_log_from_isr.attach(log_isr_lambda, 2s);
58+
// ticker_log_from_isr.attach(log_isr_lambda, 5s);
5959

6060
while (true) {
6161
auto start = rtos::Kernel::Clock::now();
@@ -65,6 +65,6 @@ auto main() -> int
6565

6666
log_info("log_debug took %i ms to complete... that's fast!\n", int((stop - start).count()));
6767

68-
rtos::ThisThread::sleep_for(1000ms);
68+
rtos::ThisThread::sleep_for(3333ms);
6969
}
7070
}

spikes/lk_log_kit/source/utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ using namespace std::chrono;
2727

2828
log_info("Total time to LOG the for loop --> %ims\n", static_cast<int>((stop - start).count()));
2929

30-
rtos::ThisThread::sleep_for(3s);
30+
rtos::ThisThread::sleep_for(5s);
3131
}
3232
}
3333

0 commit comments

Comments
 (0)