auto-sync

This commit is contained in:
rusEfi 2014-11-21 19:03:19 -06:00
parent 8fd35d6c07
commit d758c1f43c
4 changed files with 4 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__)

View File

@ -34,6 +34,8 @@ Engine *engine = &_engine;
extern WaveChart waveChart;
uint32_t maxLockTime = 0;
persistent_config_container_s persistentState;
static engine_configuration2_s ec2;