mirror of
https://github.com/adafruit/RTClib.git
synced 2026-07-27 19:56:05 +00:00
Merge pull request #242 from edgar-bonet/no-dead-cpp
Remove vestigial pre-processor code
This commit is contained in:
@@ -44,12 +44,6 @@
|
||||
/**************************************************************************/
|
||||
|
||||
#include "RTClib.h"
|
||||
#if defined(__AVR__) && !defined(TWCR) && defined(USICR)
|
||||
#include <TinyWireM.h>
|
||||
#define Wire TinyWireM
|
||||
#else
|
||||
#include <Wire.h>
|
||||
#endif
|
||||
|
||||
#ifdef __AVR__
|
||||
#include <avr/pgmspace.h>
|
||||
@@ -60,7 +54,6 @@
|
||||
#elif defined(ARDUINO_SAM_DUE)
|
||||
#define PROGMEM
|
||||
#define pgm_read_byte(addr) (*(const unsigned char *)(addr))
|
||||
#define Wire Wire1
|
||||
#endif
|
||||
|
||||
#if (ARDUINO >= 100)
|
||||
|
||||
Reference in New Issue
Block a user