Thans to copilot, microsecond resolution to wait for spark.
no missing firings detected
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include "devices.h"
|
||||
|
||||
// Global Variables and Flags
|
||||
const uint8_t spark_timeout_max = 1; // in milliseconds
|
||||
const uint32_t spark_timeout_max = 500; // in microseconds
|
||||
|
||||
// Debug Variables
|
||||
#ifdef DEBUG
|
||||
@@ -27,6 +27,7 @@ static const std::map<const uint32_t, const char *> names = {
|
||||
{TRIG_FLAG_34N, "TRIG_FLAG_34N"},
|
||||
{SPARK_FLAG_12, "SPARK_FLAG_12"},
|
||||
{SPARK_FLAG_34, "SPARK_FLAG_34"},
|
||||
{SPARK_FLAG_TIMEOUT, "SPARK_FLAG_TIMEOUT"},
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user