auto-sync
This commit is contained in:
parent
8fd35d6c07
commit
d758c1f43c
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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__)
|
||||
|
||||
|
|
|
@ -34,6 +34,8 @@ Engine *engine = &_engine;
|
|||
|
||||
extern WaveChart waveChart;
|
||||
|
||||
uint32_t maxLockTime = 0;
|
||||
|
||||
persistent_config_container_s persistentState;
|
||||
static engine_configuration2_s ec2;
|
||||
|
||||
|
|
Loading…
Reference in New Issue