From b96cc30cd04fa28cc0833973a9c4c3f423d44eb6 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 4 Feb 2019 21:50:53 -0600 Subject: [PATCH] HAL spacing tweak --- Marlin/src/HAL/HAL_LPC1768/HAL_spi.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Marlin/src/HAL/HAL_LPC1768/HAL_spi.cpp b/Marlin/src/HAL/HAL_LPC1768/HAL_spi.cpp index 6cc59b6455..40c7cd3862 100644 --- a/Marlin/src/HAL/HAL_LPC1768/HAL_spi.cpp +++ b/Marlin/src/HAL/HAL_LPC1768/HAL_spi.cpp @@ -224,13 +224,13 @@ void SPIClass::begin() { spiBegin(); } void SPIClass::beginTransaction(SPISettings cfg) { uint8_t spiRate; switch (cfg.spiRate()) { - case 8000000: spiRate = 0 ;break; - case 4000000: spiRate = 1 ;break; - case 2000000: spiRate = 2 ;break; - case 1000000: spiRate = 3 ;break; - case 500000: spiRate = 4 ;break; - case 250000: spiRate = 5 ;break; - case 125000: spiRate = 6 ;break; + case 8000000: spiRate = 0; break; + case 4000000: spiRate = 1; break; + case 2000000: spiRate = 2; break; + case 1000000: spiRate = 3; break; + case 500000: spiRate = 4; break; + case 250000: spiRate = 5; break; + case 125000: spiRate = 6; break; default: spiRate = 2; break; } spiInit(spiRate);