mirror of
https://github.com/brmlab/ledbar.git
synced 2025-06-12 14:54:00 +02:00
Merge pull request #1 from k21/dev
The sleep is only needed if we output data
This commit is contained in:
commit
a75005ed37
1 changed files with 5 additions and 6 deletions
|
@ -290,9 +290,8 @@ int main(int argc, char* argv[])
|
|||
tcgetattr(fileno(fp), &t);
|
||||
cfsetspeed(&t, B38400);
|
||||
tcsetattr(fileno(fp), TCSADRAIN, &t);
|
||||
}
|
||||
|
||||
sleep(2);
|
||||
}
|
||||
|
||||
if (SDL_Init(SDL_INIT_VIDEO) < 0) return 1;
|
||||
if (!(screen = SDL_SetVideoMode(RESX, RESY, BPP, SDL_HWSURFACE))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue