SPI defines cleanup (#14506)

This commit is contained in:
Giuliano Zaro authored and Scott Lahteine committed 2019-07-05 01:59:37 -05:00
1 parent eb6dec03bd
commit 66e16af29d
5 files changed
+3 -35

No files matched your search

@@ -59,16 +59,8 @@
#if HAS_GRAPHICAL_LCD
//#include <inttypes.h>
#include <U8glib.h>
#define SPI_FULL_SPEED 0
#define SPI_HALF_SPEED 1
#define SPI_QUARTER_SPEED 2
#define SPI_EIGHTH_SPEED 3
#define SPI_SIXTEENTH_SPEED 4
#define SPI_SPEED_5 5
#define SPI_SPEED_6 6
#include "../../shared/HAL_SPI.h"
void spiBegin();
void spiInit(uint8_t spiRate);
@@ -59,18 +59,10 @@
#if HAS_GRAPHICAL_LCD
//#include <inttypes.h>
#include <U8glib.h>
#include "../../shared/HAL_SPI.h"
#include "../../shared/Delay.h"
#define SPI_FULL_SPEED 0
#define SPI_HALF_SPEED 1
#define SPI_QUARTER_SPEED 2
#define SPI_EIGHTH_SPEED 3
#define SPI_SIXTEENTH_SPEED 4
#define SPI_SPEED_5 5
#define SPI_SPEED_6 6
void spiBegin();
void spiInit(uint8_t spiRate);
void spiSend(uint8_t b);