Support Callback

This commit is contained in:
Jaby
2024-06-14 19:29:28 +02:00
committed by Jaby
parent 715aea0589
commit 50c4c6751e
2 changed files with 12 additions and 2 deletions

View File

@@ -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);
}
}
}