From 69a5e3cf4c120d893c6c7ceb4d7713d0f30c2e78 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 1 Oct 2022 23:05:11 -0400 Subject: [PATCH] need Proteus QC --- firmware/config/engines/custom_engine.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index 127672796f..b6d0cca96c 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -635,6 +635,19 @@ void proteusBoardTest() { engineConfiguration->ignitionPins[10] = PROTEUS_HS_1; engineConfiguration->ignitionPins[11] = PROTEUS_IGN_12; + strncpy(config->luaScript, R"( + startPwm(0, 10, 0.5) + startPwm(1, 11, 0.5) + startPwm(2, 12, 0.5) + startPwm(3, 13, 0.5) + startPwm(4, 14, 0.5) + startPwm(5, 15, 0.5) + startPwm(6, 16, 0.5) + startPwm(7, 17, 0.5) + + function onTick() + end + )", efi::size(config->luaScript)); #endif // EFI_PROD_CODE