dhgdh

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by joey shelton

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers timeout_stub.c Source File

timeout_stub.c

00001 /*
00002  * Copyright (c) 2016 ARM Limited. All Rights Reserved.
00003  */
00004 
00005  #include "eventOS_event_timer.h"
00006 
00007 // Timeout structure, already typedefed to timeout_t
00008 struct timeout_entry_t {
00009     uint8_t id;
00010 };
00011 
00012 static timeout_t timeout_stub;
00013 
00014 timeout_t *eventOS_timeout_ms(void (*callback)(void *), uint32_t ms, void *arg)
00015 {
00016     return &timeout_stub;
00017 }
00018 
00019 void eventOS_timeout_cancel(timeout_t *t)
00020 {
00021 
00022 }