logicdata into unit tests
This commit is contained in:
parent
1a2ee8e7a5
commit
517761320e
|
@ -156,11 +156,13 @@ void EnableToothLogger() {
|
|||
// Enable logging of edges as they come
|
||||
ToothLoggerEnabled = true;
|
||||
|
||||
#if EFI_TUNER_STUDIO
|
||||
// Tell TS that we're ready for it to read out the log
|
||||
// nb: this is a lie, as we may not have written anything
|
||||
// yet. However, we can let it continuously read out the buffer
|
||||
// as we update it, which looks pretty nice.
|
||||
tsOutputChannels.toothLogReady = true;
|
||||
#endif // EFI_TUNER_STUDIO
|
||||
}
|
||||
|
||||
void EnableToothLoggerIfNotEnabled() {
|
||||
|
@ -171,7 +173,9 @@ void EnableToothLoggerIfNotEnabled() {
|
|||
|
||||
void DisableToothLogger() {
|
||||
ToothLoggerEnabled = false;
|
||||
#if EFI_TUNER_STUDIO
|
||||
tsOutputChannels.toothLogReady = false;
|
||||
#endif // EFI_TUNER_STUDIO
|
||||
}
|
||||
|
||||
ToothLoggerBuffer GetToothLoggerBuffer() {
|
||||
|
|
|
@ -144,6 +144,7 @@ CPPSRC = $(UTILSRC_CPP) \
|
|||
$(INIT_SRC_CPP) \
|
||||
$(PROJECT_DIR)/../unit_tests/logicdata.cpp \
|
||||
$(PROJECT_DIR)/../unit_tests/main.cpp \
|
||||
$(PROJECT_DIR)/console/binary/tooth_logger.cpp \
|
||||
$(PROJECT_DIR)/console/binary_log/log_field.cpp \
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
#define ENABLE_PERF_TRACE FALSE
|
||||
|
||||
#define EFI_TOOTH_LOGGER TRUE
|
||||
|
||||
#define EFI_LAUNCH_CONTROL TRUE
|
||||
|
||||
#define EFI_BOOST_CONTROL TRUE
|
||||
|
|
Loading…
Reference in New Issue