unused variable (Integration of @hathach changes)
This commit is contained in:
1 parent
f6b5d1674c
commit
c57a1853c8
2 files changed
+1
-5
No files matched your search
+1
-2
@@ -45,13 +45,12 @@ static void _redirect_task(void* arg)
|
||||
while(1)
|
||||
{
|
||||
taskfunc();
|
||||
delay(0);
|
||||
yield();
|
||||
}
|
||||
}
|
||||
|
||||
SchedulerRTOS::SchedulerRTOS(void)
|
||||
{
|
||||
_num = 1; // loop is already created by default
|
||||
}
|
||||
|
||||
bool SchedulerRTOS::startLoop(taskfunc_t task, uint32_t stack_size, uint32_t prio, const char* name)
|
||||
|
||||
@@ -85,9 +85,6 @@ static inline void rtos_free( void *pv )
|
||||
|
||||
class SchedulerRTOS
|
||||
{
|
||||
private:
|
||||
uint8_t _num;
|
||||
|
||||
public:
|
||||
typedef void (*taskfunc_t)(void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user