Add support for serial gateway to Rpi

This commit is contained in:
Marcelo Aquino
2016-08-21 21:01:26 -03:00
parent cb8c98431e
commit 412e41967f
20 changed files with 1241 additions and 239 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ void _process() {
transportProcess();
#endif
#if defined(LINUX)
#if defined(__linux__)
// To avoid high cpu usage
usleep(10000); // 10ms
#endif
@@ -65,7 +65,7 @@ void _infiniteLoop() {
#if defined (MY_LEDS_BLINKING_FEATURE)
ledsProcess();
#endif
#if defined(LINUX)
#if defined(__linux__)
exit(1);
#endif
}