Skip to content

Commit 3db234c

Browse files
committed
whitepsace
1 parent d3d398f commit 3db234c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cpp/arduino/Stream.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include "WString.h"
44
#include "Print.h"
55

6-
76
// This enumeration provides the lookahead options for parseInt(), parseFloat()
87
// The rules set out here are used until either the first valid character is found
98
// or a time out occurs due to lack of input.
@@ -45,7 +44,9 @@ class Stream : public Print
4544

4645
public:
4746
virtual int available() { return mGodmodeDataIn->length(); }
47+
4848
virtual int peek() { return available() ? (int)((*mGodmodeDataIn)[0]) : -1; }
49+
4950
virtual int read() {
5051
int ret = peek();
5152
if (ret != -1) {

cpp/unittest/Compare.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#pragma once
22
#include "string.h"
33

4-
54
template < typename A, typename B > struct Compare
65
{
76
inline static int between(const A &a,const B &b)
@@ -418,6 +417,7 @@ template <typename T> struct Compare<T, bool>
418417
return between(a,b) >= 0;
419418
} // moreOrEqual
420419
};
420+
421421
template <typename A, typename B> int compareBetween(const A &a, const B &b) { return Compare<A,B>::between(a,b); }
422422
template <typename A, typename B> bool compareEqual(const A &a, const B &b) { return Compare<A,B>::equal(a,b); }
423423
template <typename A, typename B> bool compareNotEqual(const A &a, const B &b) { return Compare<A,B>::notEqual(a,b); }

0 commit comments

Comments
 (0)