instaflush stdout on simulator

This commit is contained in:
Matthew Kennedy 2023-09-14 01:51:36 -07:00 committed by Andrey
parent bbaf80cd36
commit 51bfa1d2ce
1 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,8 @@ static virtual_timer_t exitTimer;
* Simulator main. *
*------------------------------------------------------------------------*/
int main(int argc, char** argv) {
setbuf(stdout, NULL);
/*
* System initializations.
* - HAL initialization, this also initializes the configured device drivers