From f59c318df251b0101cbe9e4289d886b05704c01c Mon Sep 17 00:00:00 2001 From: Andrey Date: Sun, 26 Feb 2023 17:58:11 -0500 Subject: [PATCH] we have centralized SPI management --- firmware/development/hw_layer/poten.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/development/hw_layer/poten.cpp b/firmware/development/hw_layer/poten.cpp index 2d70aae01f..44b3b452bc 100644 --- a/firmware/development/hw_layer/poten.cpp +++ b/firmware/development/hw_layer/poten.cpp @@ -93,7 +93,8 @@ void initPotentiometers() { efiPrintf("digiPot spi disabled"); return; } - turnOnSpi(engineConfiguration->digitalPotentiometerSpiDevice); + // todo: we have centralized SPI management see other usages of 'turnOnSpi' + //turnOnSpi(engineConfiguration->digitalPotentiometerSpiDevice); for (int i = 0; i < DIGIPOT_COUNT; i++) { brain_pin_e csPin = engineConfiguration->digitalPotentiometerChipSelect[i];