Created
March 20, 2015 04:19
-
-
Save good5dog5/6f96ac78b7c0fdcbe654 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* main.c +185, enable to be compiled. */ | |
#if 1 | |
/* Create a task to record system log. */ | |
xTaskCreate(system_logger, | |
(signed portCHAR *) "Logger", | |
1024 /* stack size */, NULL, tskIDLE_PRIORITY + 1, NULL); | |
#endif | |
/* main.c +126, create directory and file before open, avoid to fail. */ | |
handle = host_action(SYS_SYSTEM, "mkdir -p output"); | |
handle = host_action(SYS_SYSTEM, "touch output/syslog"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment