1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Fix typo: SPI_CLOCK_DIV128

This commit is contained in:
Peter Van Hoyweghen 2015-07-10 14:02:47 +02:00
parent c8b5e99267
commit eca360bf42

View File

@ -54,14 +54,9 @@
#define LED_PMODE 7
#define PROG_FLICKER true
#if defined(ARDUINO_ARCH_SAM) or defined(ARDUINO_ARCH_SAMD)
#define SPI_CLOCK_DIV_MAX 255
#else
#if !defined(ARDUINO_ARCH_SAM) and !defined(ARDUINO_ARCH_SAMD)
#define USE_HARDWARE_SPI
#define SPI_CLOCK_DIV_MAX SPI_CLOCK_DIV_128
#endif
@ -101,8 +96,11 @@ void pulse(int pin, int times);
#ifdef USE_HARDWARE_SPI
#include "SPI.h"
#define SPI_CLOCK_DIV_MAX SPI_CLOCK_DIV128
#else
#define SPI_CLOCK_DIV_MAX 255
class BitBangedSPI {
public:
void setDataMode(uint8_t dataMode) {