Skip to content

Commit

Permalink
tweak formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Feb 21, 2023
1 parent 5334ced commit 78ac981
Show file tree
Hide file tree
Showing 17 changed files with 4,034 additions and 4,272 deletions.
731 changes: 365 additions & 366 deletions Marlin/src/HAL/AVR/HAL_SPI_HW.cpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Marlin/src/HAL/AVR/HAL_SPI_HWgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
}

void spiInit(uint8_t spiRate, int hint_sck, int hint_miso, int hint_mosi, int hint_cs) {
// Use datarates Marlin uses
// Use Marlin datarates
uint32_t clock;
switch (spiRate) {
case SPI_FULL_SPEED: clock = 20000000; break; // 13.9mhz=20000000 6.75mhz=10000000 3.38mhz=5000000 .833mhz=1000000
Expand Down
473 changes: 217 additions & 256 deletions Marlin/src/HAL/DUE/HAL_SPI.cpp

Large diffs are not rendered by default.

Loading

0 comments on commit 78ac981

Please sign in to comment.