Make disable return an int32_t for runOnce usage
This commit is contained in:
1 parent
38a1315599
commit
110c80d045
4 files changed
+6
-6
No files matched your search
@@ -93,10 +93,12 @@ void OSThread::run()
|
||||
currentThread = NULL;
|
||||
}
|
||||
|
||||
void OSThread::disable()
|
||||
int32_t OSThread::disable()
|
||||
{
|
||||
enabled = false;
|
||||
setInterval(INT32_MAX);
|
||||
|
||||
return INT32_MAX;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user