mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
SiTL/SimPosix: Fixed compilation issue because of Timer macro eedeclaration in portmacro.h
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3005 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
6dcb9b2dcc
commit
be1837ecd5
@ -156,8 +156,10 @@ extern void vPortAddTaskHandle( void *pxTaskHandle );
|
||||
|
||||
/* Make use of times(man 2) to gather run-time statistics on the tasks. */
|
||||
extern void vPortFindTicksPerSecond( void );
|
||||
#undef portCONFIGURE_TIMER_FOR_RUN_TIME_STATS
|
||||
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() vPortFindTicksPerSecond() /* Nothing to do because the timer is already present. */
|
||||
extern unsigned long ulPortGetTimerValue( void );
|
||||
#undef portGET_RUN_TIME_COUNTER_VALUE
|
||||
#define portGET_RUN_TIME_COUNTER_VALUE() ulPortGetTimerValue() /* Query the System time stats for this process. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
x
Reference in New Issue
Block a user