Support Callback
This commit is contained in:
@@ -155,8 +155,10 @@ namespace JabyEngine {
|
||||
}
|
||||
|
||||
void data_ready_handler(uint32_t data) {
|
||||
printf("Data: %i\n", data);
|
||||
MainThread::restore();
|
||||
while(true) {
|
||||
printf("Data: %i\n", data);
|
||||
SysCall::ChangeThread(0xFF000000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user