1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

Made changes to include "ESP8266_" with ITEAD board names, {build.board}, (#7024)

as proposed by https://github.com/esp8266/Arduino/pull/6972#issue-358508056.
@ttytyper 's changes have been incorporate into this PR
The build flag ARDUINO_SONOFF_... should now appear as ARDUINO_ESP8266_SONOFF_...
@ttytyper, @mcspr, and @d-a-v thanks!
This commit is contained in:
M Hightower
2020-01-27 14:44:08 -08:00
committed by Earle F. Philhower, III
parent 0989932669
commit 0c6be9e114
3 changed files with 13 additions and 13 deletions

View File

@ -26,17 +26,17 @@
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#if defined(ARDUINO_SONOFF_SV)
#if defined(ARDUINO_ESP8266_SONOFF_SV)
#define PIN_WIRE_SCL (5)
static const uint8_t SCL = PIN_WIRE_SCL;
#endif
#if defined(ARDUINO_SONOFF_TH) || defined(ARDUINO_SONOFF_BASIC)
#if defined(ARDUINO_ESP8266_SONOFF_TH) || defined(ARDUINO_ESP8266_SONOFF_BASIC)
#define PIN_WIRE_SCL (14)
static const uint8_t SCL = PIN_WIRE_SCL;
#endif
#if defined(ARDUINO_SONOFF_TH) || defined(ARDUINO_SONOFF_SV)
#if defined(ARDUINO_ESP8266_SONOFF_TH) || defined(ARDUINO_ESP8266_SONOFF_SV)
#define PIN_WIRE_SDA (4)
static const uint8_t SDA = PIN_WIRE_SDA;
#endif