Fix some comment formatting
This commit is contained in:
parent
2f873a119f
commit
7a04eb3a8b
5 changed files with 69 additions and 81 deletions
|
@ -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
|
||||||
|
|
|
@ -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_
|
|
||||||
|
|
|
@ -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_
|
|
||||||
|
|
Reference in a new issue