aboutsummaryrefslogtreecommitdiff
path: root/cores
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-10-31 21:42:09 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-10-31 21:42:09 -0400
commit61b03fc98534a48609daf479f150a71bbc607f55 (patch)
tree31c6fe975b351b782fcabfa7605ba91be1c3a1b8 /cores
parent0a69d10b37a782db2220b4f98adf6c2725f2d913 (diff)
parentaaa69be264f872a1929831639142b46fbbb556fb (diff)
Merge branch 'new-extension' of github.com:arduino/Arduino into diskloader_reboot
Diffstat (limited to 'cores')
-rw-r--r--cores/arduino/Stream.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/cores/arduino/Stream.h b/cores/arduino/Stream.h
index 8f2de1e..a3b25c5 100644
--- a/cores/arduino/Stream.h
+++ b/cores/arduino/Stream.h
@@ -71,14 +71,8 @@ class Stream : public Print
// initial characters that are not digits (or the minus sign) are skipped
// integer is terminated by the first character that is not a digit.
- long parseInt(char skipChar); // as above but the given skipChar is ignored
- // as above but the given skipChar is ignored
- // this allows format characters (typically commas) in values to be ignored
-
float parseFloat(); // float version of parseInt
- float parseFloat(char skipChar); // as above but the given skipChar is ignored
-
int readBytes( char *buffer, size_t length); // read chars from stream into buffer
// terminates if length characters have been read or timeout (see setTimeout)
// returns the number of characters placed in the buffer (0 means no valid data found)
@@ -89,6 +83,12 @@ class Stream : public Print
// Arduino String functions to be added here
+ protected:
+ long parseInt(char skipChar); // as above but the given skipChar is ignored
+ // as above but the given skipChar is ignored
+ // this allows format characters (typically commas) in values to be ignored
+
+ float parseFloat(char skipChar); // as above but the given skipChar is ignored
};
#endif