auto-sync

This commit is contained in:
rusEfi 2014-11-21 19:03:19 -06:00
parent 08a15e4647
commit 2de7c5b87a
3 changed files with 2 additions and 15 deletions

View File

@ -374,18 +374,6 @@ void scheduleMsg(Logging *logging, const char *fmt, ...) {
scheduleLogging(logging);
}
// todo: remove this method, replace with 'scheduleMsg'
void scheduleIntValue(Logging *logging, const char *msg, int value) {
resetLogging(logging);
append(logging, msg);
append(logging, DELIMETER);
appendPrintf(logging, "%d", value);
append(logging, DELIMETER);
scheduleLogging(logging);
}
void scheduleLogging(Logging *logging) {
// this could be done without locking
int newLength = efiStrlen(logging->buffer);

View File

@ -108,8 +108,6 @@ void appendFast(Logging *logging, const char *text);
*/
void scheduleLogging(Logging *logging);
void scheduleIntValue(Logging *logging, const char *msg, int value);
/**
* this should only be invoked by the 'main' thread in order to keep the console safe
*/

View File

@ -205,9 +205,10 @@ static void triggerShapeInfo(Engine *engine) {
#if EFI_PROD_CODE
extern PwmConfig triggerSignal;
extern uint32_t maxLockTime;
#endif /* #if EFI_PROD_CODE */
extern uint32_t maxLockTime;
static void triggerInfo(Engine *engine) {
#if (EFI_PROD_CODE || EFI_SIMULATOR) || defined(__DOXYGEN__)