auto-sync

This commit is contained in:
rusEfi 2016-05-07 00:01:23 -04:00
parent 24a9c063be
commit 91fc7bd39c
3 changed files with 9 additions and 0 deletions

View File

@ -79,6 +79,7 @@
#include "svnversion.h"
#include "loggingcentral.h"
#include "status_loop.h"
#include "mmc_card.h"
#if EFI_SIMULATOR || defined(__DOXYGEN__)
#include "rusEfiFunctionalTest.h"
#endif
@ -248,6 +249,7 @@ void yellowMagic(int currentPageId, int offset, int count) {
*/
static void handleReadFileContent(ts_channel_s *tsChannel, short fileId, short offset, short length) {
readLogFileContent(tsChannel->crcReadBuffer, fileId, offset, length);
}

View File

@ -210,6 +210,11 @@ static void listDirectory(const char *path) {
static int errorReported = FALSE; // this is used to report the error only once
void readLogFileContent(char *buffer, short fileId, short offset, short length) {
}
/**
* @brief Appends specified line to the current log file
*/

View File

@ -19,6 +19,8 @@ void initMmcCard(void);
bool isSdCardAlive(void);
void appendToLog(const char *line);
void readLogFileContent(char *buffer, short fileId, short offset, short length);
#ifdef __cplusplus
}
#endif /* __cplusplus */