Fixing compiler warning/error
This commit is contained in:
parent
1f8b5efc21
commit
fa4abfcc90
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,6 @@ static DECLARE_THREAD_STACK(waTimerThread, GTIMER_THREAD_WORKAREA_SIZE);
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
static DECLARE_THREAD_FUNCTION(GTimerThreadHandler, arg) {
|
static DECLARE_THREAD_FUNCTION(GTimerThreadHandler, arg) {
|
||||||
(void)arg;
|
|
||||||
GTimer *pt;
|
GTimer *pt;
|
||||||
systemticks_t tm;
|
systemticks_t tm;
|
||||||
systemticks_t nxtTimeout;
|
systemticks_t nxtTimeout;
|
||||||
|
@ -37,6 +36,8 @@ static DECLARE_THREAD_FUNCTION(GTimerThreadHandler, arg) {
|
||||||
GTimerFunction fn;
|
GTimerFunction fn;
|
||||||
void *param;
|
void *param;
|
||||||
|
|
||||||
|
(void)arg;
|
||||||
|
|
||||||
nxtTimeout = TIME_INFINITE;
|
nxtTimeout = TIME_INFINITE;
|
||||||
lastTime = 0;
|
lastTime = 0;
|
||||||
while(1) {
|
while(1) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue