Browse Source

Fix some comment formatting

pull/1/head
Scott Lahteine 6 years ago
parent
commit
7a04eb3a8b
  1. 1
      Marlin/src/HAL/HAL_STM32/spi_pins.h
  2. 8
      Marlin/src/HAL/HAL_STM32F4/spi_pins.h
  3. 7
      Marlin/src/HAL/HAL_STM32F7/spi_pins.h

1
Marlin/src/HAL/HAL_STM32/spi_pins.h

@ -20,7 +20,6 @@
/** /**
* Define SPI Pins: SCK, MISO, MOSI, SS * Define SPI Pins: SCK, MISO, MOSI, SS
*
*/ */
#ifndef SCK_PIN #ifndef SCK_PIN
#define SCK_PIN 13 #define SCK_PIN 13

8
Marlin/src/HAL/HAL_STM32F4/spi_pins.h

@ -16,14 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
#ifndef SPI_PINS_H_
#define SPI_PINS_H_
/** /**
* Define SPI Pins: SCK, MISO, MOSI, SS * Define SPI Pins: SCK, MISO, MOSI, SS
*
*/ */
#ifndef SCK_PIN #ifndef SCK_PIN
#define SCK_PIN PA5 #define SCK_PIN PA5
@ -37,5 +33,3 @@
#ifndef SS_PIN #ifndef SS_PIN
#define SS_PIN PA8 #define SS_PIN PA8
#endif #endif
#endif // SPI_PINS_H_

7
Marlin/src/HAL/HAL_STM32F7/spi_pins.h

@ -16,17 +16,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
#pragma once
#ifndef SPI_PINS_H_
#define SPI_PINS_H_
/** /**
* Define SPI Pins: SCK, MISO, MOSI, SS * Define SPI Pins: SCK, MISO, MOSI, SS
*
*/ */
#define SCK_PIN PA5 #define SCK_PIN PA5
#define MISO_PIN PA6 #define MISO_PIN PA6
#define MOSI_PIN PA7 #define MOSI_PIN PA7
#define SS_PIN PA8 #define SS_PIN PA8
#endif // SPI_PINS_H_

Loading…
Cancel
Save