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 1818void et_pal_init (void ) {}
1919
2020ET_NORETURN void et_pal_abort (void ) {
21- k_panic ();
22- // k_panic() should never return, but ensure compiler knows this
23- while (1 ) {
24- /* Never reached */
25- }
21+ k_panic ();
22+ // k_panic() should never return, but ensure compiler knows this
23+ while (1 ) {
24+ /* Never reached */
25+ }
2626}
2727
2828et_timestamp_t et_pal_current_ticks (void ) {
29- return k_uptime_ticks ();
29+ return k_uptime_ticks ();
3030}
3131
3232et_tick_ratio_t et_pal_ticks_to_ns_multiplier (void ) {
33- return { NSEC_PER_SEC, sys_clock_hw_cycles_per_sec () };
33+ return {NSEC_PER_SEC, sys_clock_hw_cycles_per_sec ()};
3434}
3535
3636void et_pal_emit_log_message (
@@ -41,7 +41,7 @@ void et_pal_emit_log_message(
4141 ET_UNUSED size_t line,
4242 const char * message,
4343 ET_UNUSED size_t length) {
44- printk (" %s\n " , message);
44+ printk (" %s\n " , message);
4545}
4646
4747void * et_pal_allocate (size_t size) {
@@ -50,4 +50,4 @@ void* et_pal_allocate(size_t size) {
5050
5151void et_pal_free (void * ptr) {
5252 k_free (ptr);
53- }
53+ }
You can’t perform that action at this time.
0 commit comments