1 /* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include "posix_native_task.h" 8 #include "nsi_timer_model.h" 9 10 #if defined(CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME) 11 set_realtime_default(void)12static void set_realtime_default(void) 13 { 14 hwtimer_set_real_time_mode(true); 15 } 16 17 NATIVE_TASK(set_realtime_default, PRE_BOOT_1, 0); 18 19 #endif /* CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME */ 20