Fix some comment formatting

This commit is contained in:
Scott Lahteine 2018-10-23 22:35:09 -05:00
parent 2f873a119f
commit 7a04eb3a8b
5 changed files with 69 additions and 81 deletions

View File

@ -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

View File

@ -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_

View File

@ -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_