Move stdio_init_all() to before video initialization
This commit is contained in:
@@ -343,6 +343,9 @@ void InitSlot()
|
||||
|
||||
int main()
|
||||
{
|
||||
// initialize stdio
|
||||
stdio_init_all();
|
||||
|
||||
char ch;
|
||||
|
||||
// copy tiles images to RAM buffer (flash would be too slow)
|
||||
@@ -369,9 +372,6 @@ int main()
|
||||
// VideoInit();
|
||||
Video(DEV_VGA, RES_VGA, FORM_TILE16, Board, TilesImg_Copy);
|
||||
|
||||
// initialize stdio
|
||||
stdio_init_all();
|
||||
|
||||
// display help
|
||||
DispHelp();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user