Improve build process for Linux

This commit is contained in:
Marcelo Aquino
2016-08-17 23:42:27 -03:00
parent 4d431fbebb
commit b8d4a6a943
14 changed files with 438 additions and 170 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ void _process() {
transportProcess();
#endif
#if defined(LINUX_ARCH_GENERIC)
#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_ARCH_GENERIC)
#if defined(LINUX)
exit(1);
#endif
}