2bt/tetrisVI — pull request #6 by ralfjung-e (2012-04-06 16:27:05+00:00)
Title: Refactoring

This makes r0ketris_sdl actually work on my system (I had to disable drains and add some usleeps instead). I also refactored the code dealing with the actual communication, which how has its own file. This makes the main.c much more readable.

The serial.{c,h} could also be used in uart_frame. However, there are some differences in the main.c files (besides the obvious ones for the output), so I did not touch it.