mirror of
https://github.com/adafruit/Adafruit_BusIO.git
synced 2026-07-27 20:06:13 +00:00
Merge pull request #112 from fionn-r/master
If there are no global instances defined, don't provide default &Seri…
This commit is contained in:
@@ -77,8 +77,13 @@ public:
|
||||
void setAddress(uint16_t address);
|
||||
void setAddressWidth(uint16_t address_width);
|
||||
|
||||
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
|
||||
void print(Stream *s = &Serial);
|
||||
void println(Stream *s = &Serial);
|
||||
#else
|
||||
void print(Stream *s);
|
||||
void println(Stream *s);
|
||||
#endif
|
||||
|
||||
private:
|
||||
Adafruit_I2CDevice *_i2cdevice;
|
||||
|
||||
Reference in New Issue
Block a user