Skip to content

Commit fb73655

Browse files
committed
hosted: main(): create screen thread before sampling malloc stats
1 parent f7198ca commit fb73655

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

hosted/Arduino.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,10 @@ int main(int argc, char **argv)
190190
}
191191
}
192192

193+
SDL_CreateThread(screen_thread, NULL);
194+
193195
hosting_mem_allocated = mallinfo().uordblks;
194196

195-
SDL_CreateThread(screen_thread, NULL);
196197
setup();
197198
for (;;)
198199
loop();

0 commit comments

Comments
 (0)