Skip to content

Commit 4770cc9

Browse files
committed
Remove Print base class from IStream
1 parent d4af77c commit 4770cc9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

hardware/arduino/avr/cores/arduino/IStream.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#define IStream_h
2424

2525
#include <inttypes.h>
26-
#include "Print.h"
2726

2827
// compatability macros for testing
2928
/*
@@ -46,7 +45,7 @@ enum LookaheadMode{
4645

4746
#define NO_IGNORE_CHAR '\x01' // a char not found in a valid ASCII numeric field
4847

49-
class IStream : public Print
48+
class IStream
5049
{
5150
protected:
5251
unsigned long _timeout; // number of milliseconds to wait for the next char before aborting timed read

hardware/arduino/sam/cores/arduino/IStream.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#define IStream_h
2424

2525
#include <inttypes.h>
26-
#include "Print.h"
2726

2827
// compatability macros for testing
2928
/*
@@ -46,7 +45,7 @@ enum LookaheadMode{
4645

4746
#define NO_IGNORE_CHAR '\x01' // a char not found in a valid ASCII numeric field
4847

49-
class IStream : public Print
48+
class IStream
5049
{
5150
protected:
5251
unsigned long _timeout; // number of milliseconds to wait for the next char before aborting timed read

0 commit comments

Comments
 (0)