File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1212void et_pal_init (void ) {}
1313
1414ET_NORETURN void et_pal_abort (void ) {
15- k_panic ();
16- // k_panic() should never return, but ensure compiler knows this
17- while (1 ) {
18- /* Never reached */
19- }
15+ k_panic ();
16+ // k_panic() should never return, but ensure compiler knows this
17+ while (1 ) {
18+ /* Never reached */
19+ }
2020}
2121
2222et_timestamp_t et_pal_current_ticks (void ) {
23- return k_uptime_ticks ();
23+ return k_uptime_ticks ();
2424}
2525
2626et_tick_ratio_t et_pal_ticks_to_ns_multiplier (void ) {
27- return { NSEC_PER_SEC, sys_clock_hw_cycles_per_sec () };
27+ return {NSEC_PER_SEC, sys_clock_hw_cycles_per_sec ()};
2828}
2929
3030void et_pal_emit_log_message (
@@ -35,7 +35,7 @@ void et_pal_emit_log_message(
3535 ET_UNUSED size_t line,
3636 const char * message,
3737 ET_UNUSED size_t length) {
38- printk (" %s\n " , message);
38+ printk (" %s\n " , message);
3939}
4040
4141void * et_pal_allocate (size_t size) {
@@ -44,4 +44,4 @@ void* et_pal_allocate(size_t size) {
4444
4545void et_pal_free (void * ptr) {
4646 k_free (ptr);
47- }
47+ }
You can’t perform that action at this time.
0 commit comments