fix build iar with lpc43

This commit is contained in:
hathach
2023-08-14 22:01:30 +07:00
parent 088180e3d8
commit f2f005cbdf
2 changed files with 5 additions and 0 deletions

View File

@@ -66,7 +66,10 @@ bool msc_app_init(void)
for(size_t i=0; i<CFG_TUH_DEVICE_MAX; i++) _disk_busy[i] = false;
// disable stdout buffered for echoing typing command
#ifndef __ICCARM__ // TODO IAR doesn't support stream control ?
setbuf(stdout, NULL);
#endif
cli_init();
return true;