SPI defines cleanup (#14506)

This commit is contained in:
Giuliano Zaro
2019-07-05 08:59:37 +02:00
committed by Scott Lahteine
parent eb6dec03bd
commit 66e16af29d
5 changed files with 3 additions and 35 deletions

View File

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

View File

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