rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
os_util.cpp
Go to the documentation of this file.
1/**
2 * @file os_util.cpp
3 * @brief Utility methods related to operating system usage
4 *
5 * @date Nov 15, 2012
6 * @author Andrey Belomutskiy, (c) 2012-2020
7 *
8 * This file is part of rusEfi - see http://rusefi.com
9 *
10 * rusEfi is free software; you can redistribute it and/or modify it under the terms of
11 * the GNU General Public License as published by the Free Software Foundation; either
12 * version 3 of the License, or (at your option) any later version.
13 *
14 * rusEfi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
15 * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along with this program.
19 * If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#if !EFI_UNIT_TEST
23#include "pch.h"
24
25#include "os_util.h"
26
27void chVTSetAny(virtual_timer_t *vtp, systime_t time, vtfunc_t vtfunc, void *par) {
28 chibios_rt::CriticalSectionLocker csl;
29
30 chVTSetI(vtp, time, vtfunc, par);
31}
32
33#endif /* EFI_UNIT_TEST */
void chVTSetAny(virtual_timer_t *vtp, systime_t time, vtfunc_t vtfunc, void *par)
Definition os_util.cpp:27