Browse Source

Keep SPI active on LPC176x (#19932)

Victor Oliveira 4 years ago
parent
commit
838220e4b3
No account linked to committer's email address
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Marlin/src/HAL/LPC1768/HAL_SPI.cpp

+ 3
- 2
Marlin/src/HAL/LPC1768/HAL_SPI.cpp View File

263
 }
263
 }
264
 
264
 
265
 void SPIClass::end() {
265
 void SPIClass::end() {
266
-  // SSP_Cmd(_currentSetting->spi_d, DISABLE);  // stop device or SSP_DeInit?
267
-  SSP_DeInit(_currentSetting->spi_d);
266
+  // Neither is needed for Marlin
267
+  //SSP_Cmd(_currentSetting->spi_d, DISABLE);
268
+  //SSP_DeInit(_currentSetting->spi_d);
268
 }
269
 }
269
 
270
 
270
 void SPIClass::send(uint8_t data) {
271
 void SPIClass::send(uint8_t data) {

Loading…
Cancel
Save