Support Callback

This commit is contained in:
Björn Gaier
2024-06-14 19:29:28 +02:00
parent d5455189c5
commit 13390bff08
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);
}
}
}