Skip to content

Commit 9d93732

Browse files
format test file
1 parent 7b81ccd commit 9d93732

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

test/firmata_test/firmata_test.ino

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ test(beginPrintsVersion)
2424

2525
Firmata.begin(stream);
2626

27-
char expected[] =
28-
{
27+
char expected[] = {
2928
REPORT_VERSION,
3029
FIRMATA_MAJOR_VERSION,
3130
FIRMATA_MINOR_VERSION,
@@ -34,13 +33,12 @@ test(beginPrintsVersion)
3433
assertEqual(expected, stream.bytesWritten());
3534
}
3635

37-
void processMessage(const byte* message, size_t length)
36+
void processMessage(const byte *message, size_t length)
3837
{
3938
FakeStream stream;
4039
Firmata.begin(stream);
4140

42-
for (size_t i = 0; i < length; i++)
43-
{
41+
for (size_t i = 0; i < length; i++) {
4442
stream.nextByte(message[i]);
4543
Firmata.processInput();
4644
}
@@ -54,7 +52,8 @@ void writeToDigitalPort(byte port, int value)
5452
_digitalPortValue = value;
5553
}
5654

57-
void setupDigitalPort() {
55+
void setupDigitalPort()
56+
{
5857
_digitalPort = 0;
5958
_digitalPortValue = 0;
6059
}

0 commit comments

Comments
 (0)