Skip to content

Commit e82249c

Browse files
committed
Merge branch 'new-extension' of github.com:arduino/Arduino into diskloader_reboot
2 parents 92dd0c7 + 7ab1569 commit e82249c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

hardware/arduino/cores/arduino/Stream.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,8 @@ class Stream : public Print
7171
// initial characters that are not digits (or the minus sign) are skipped
7272
// integer is terminated by the first character that is not a digit.
7373

74-
long parseInt(char skipChar); // as above but the given skipChar is ignored
75-
// as above but the given skipChar is ignored
76-
// this allows format characters (typically commas) in values to be ignored
77-
7874
float parseFloat(); // float version of parseInt
7975

80-
float parseFloat(char skipChar); // as above but the given skipChar is ignored
81-
8276
int readBytes( char *buffer, size_t length); // read chars from stream into buffer
8377
// terminates if length characters have been read or timeout (see setTimeout)
8478
// returns the number of characters placed in the buffer (0 means no valid data found)
@@ -89,6 +83,12 @@ class Stream : public Print
8983

9084
// Arduino String functions to be added here
9185

86+
protected:
87+
long parseInt(char skipChar); // as above but the given skipChar is ignored
88+
// as above but the given skipChar is ignored
89+
// this allows format characters (typically commas) in values to be ignored
90+
91+
float parseFloat(char skipChar); // as above but the given skipChar is ignored
9292
};
9393

9494
#endif

0 commit comments

Comments
 (0)