idle CS pin fix #665 (#666)

This commit is contained in:
Matthew Kennedy 2019-01-11 05:12:26 -08:00 committed by rusefi
parent d47afe0524
commit a6e8e857af
1 changed files with 2 additions and 0 deletions

View File

@ -463,6 +463,8 @@ void cj125defaultPinout(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
static void cjStartSpi(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
cj125Cs.initPin("cj125 CS", CONFIGB(cj125CsPin),
&engineConfiguration->cj125CsPinMode);
// Idle CS pin
cj125Cs.setValue(true);
#if EFI_PROD_CODE
cj125spicfg.ssport = getHwPort("cj125", CONFIGB(cj125CsPin));