/** * @file os_util.cpp * @brief Utility methods related to operating system usage * * @date Nov 15, 2012 * @author Andrey Belomutskiy, (c) 2012-2020 * * This file is part of rusEfi - see http://rusefi.com * * rusEfi is free software; you can redistribute it and/or modify it under the terms of * the GNU General Public License as published by the Free Software Foundation; either * version 3 of the License, or (at your option) any later version. * * rusEfi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with this program. * If not, see . */ #if !EFI_UNIT_TEST #include "pch.h" #include "os_util.h" void chVTSetAny(virtual_timer_t *vtp, systime_t time, vtfunc_t vtfunc, void *par) { chibios_rt::CriticalSectionLocker csl; chVTSetI(vtp, time, vtfunc, par); } #endif /* EFI_UNIT_TEST */