mirror of https://github.com/ARMmbed/mbed-os.git
renesas: os tick only for rtos
As this is os tick implementation for rtos, it should not be compilied if rtos not present (mbed 2)pull/5770/head
parent
eda0acc5da
commit
3247a96588
|
@ -22,6 +22,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifdef MBED_CONF_RTOS_PRESENT
|
||||
|
||||
#include "os_tick.h"
|
||||
#include "irq_ctrl.h"
|
||||
|
||||
|
@ -185,3 +187,6 @@ uint32_t OS_Tick_GetCount (void) {
|
|||
uint32_t OS_Tick_GetOverflow (void) {
|
||||
return (IRQ_GetPending(OSTM_IRQn));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue