Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more
timeout_stub.c
00001 /* 00002 * Copyright (c) 2016 ARM Limited. All rights reserved. 00003 */ 00004 00005 #include "eventOS_event_timer.h" 00006 00007 static void (*test_callback)(void *); 00008 static void *test_args; 00009 00010 timeout_t *eventOS_timeout_ms(void (*callback)(void *), uint32_t ms, void *arg) 00011 { 00012 test_callback = callback; 00013 test_args = arg; 00014 return NULL; 00015 } 00016 00017 void eventOS_timeout_cancel(timeout_t *t) 00018 { 00019 00020 } 00021 00022 void test_eventOS_timeout_trigger() { 00023 test_callback(test_args); 00024 } 00025
Generated on Tue Jul 12 2022 11:02:33 by
1.7.2