Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita553fae

Browse files
codestyle unification
1 parent5a417ea commita553fae

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

‎api/Client.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ class Client : public Stream {
4343
uint8_t*rawIPAddress(IPAddress& addr) {return addr.raw_address(); };
4444
};
4545

46-
}
46+
}

‎api/HardwareI2C.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class HardwareI2C : public Stream
3232
virtualvoidend() = 0;
3333

3434
virtualvoidsetClock(uint32_t freq) = 0;
35-
35+
3636
virtualvoidbeginTransmission(uint8_t address) = 0;
3737
virtualuint8_tendTransmission(bool stopBit) = 0;
3838
virtualuint8_tendTransmission(void) = 0;

‎api/HardwareSerial.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ class HardwareSerial : public Stream
103103
// XXX: Are we keeping the serialEvent API?
104104
externvoidserialEventRun(void) __attribute__((weak));
105105

106-
}
106+
}

‎api/Stream.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Stream : public Print
6767

6868
voidsetTimeout(unsignedlong timeout);// sets maximum milliseconds to wait for stream data, default is 1 second
6969
unsignedlonggetTimeout(void) {return _timeout; }
70-
70+
7171
boolfind(constchar *target);// reads data from the stream until the target string is found
7272
boolfind(constuint8_t *target) {returnfind ((constchar *)target); }
7373
// returns true if target string is found, false if timed out (see setTimeout)
@@ -130,4 +130,4 @@ class Stream : public Print
130130

131131
}
132132

133-
using arduino::Stream;
133+
using arduino::Stream;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp