From 7ab299f8e2036a1118890b43fafa5df8851db25c Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 25 May 2020 18:27:34 -0400 Subject: [PATCH] dead code --- firmware/console/binary/tooth_logger.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/firmware/console/binary/tooth_logger.cpp b/firmware/console/binary/tooth_logger.cpp index 3f61d81049..6e3fa5ac2e 100644 --- a/firmware/console/binary/tooth_logger.cpp +++ b/firmware/console/binary/tooth_logger.cpp @@ -41,15 +41,6 @@ static uint32_t lastEdgeTimestamp = 0; static bool trigger1 = false; static bool trigger2 = false; -//char (*__kaboom)[sizeof( composite_logger_s )] = 1; -//char (*__kaboom)[sizeof( buffer )] = 1; - -//void SetNextToothEntry(uint16_t entry) { - // TS uses big endian, grumble -// buffer[NextIdx] = SWAP_UINT16(entry); - //NextIdx++; - - static void SetNextCompositeEntry(efitick_t timestamp, bool trigger1, bool trigger2, bool isTDC DECLARE_ENGINE_PARAMETER_SUFFIX) { uint32_t nowUs = NT2US(timestamp); @@ -59,9 +50,6 @@ static void SetNextCompositeEntry(efitick_t timestamp, bool trigger1, bool trigg buffer[NextIdx].secLevel = trigger2; buffer[NextIdx].trigger = isTDC; buffer[NextIdx].sync = engine->triggerCentral.triggerState.shaft_is_synchronized; - // todo: - //buffer[NextIdx].sync = isSynced; - //buffer[NextIdx].trigger = wtfIsTriggerIdk; NextIdx++;