auto-sync
This commit is contained in:
parent
08a15e4647
commit
2de7c5b87a
|
@ -374,18 +374,6 @@ void scheduleMsg(Logging *logging, const char *fmt, ...) {
|
||||||
scheduleLogging(logging);
|
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) {
|
void scheduleLogging(Logging *logging) {
|
||||||
// this could be done without locking
|
// this could be done without locking
|
||||||
int newLength = efiStrlen(logging->buffer);
|
int newLength = efiStrlen(logging->buffer);
|
||||||
|
|
|
@ -108,8 +108,6 @@ void appendFast(Logging *logging, const char *text);
|
||||||
*/
|
*/
|
||||||
void scheduleLogging(Logging *logging);
|
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
|
* 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
|
#if EFI_PROD_CODE
|
||||||
extern PwmConfig triggerSignal;
|
extern PwmConfig triggerSignal;
|
||||||
extern uint32_t maxLockTime;
|
|
||||||
#endif /* #if EFI_PROD_CODE */
|
#endif /* #if EFI_PROD_CODE */
|
||||||
|
|
||||||
|
extern uint32_t maxLockTime;
|
||||||
|
|
||||||
static void triggerInfo(Engine *engine) {
|
static void triggerInfo(Engine *engine) {
|
||||||
#if (EFI_PROD_CODE || EFI_SIMULATOR) || defined(__DOXYGEN__)
|
#if (EFI_PROD_CODE || EFI_SIMULATOR) || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue