Skip to content

Commit 47e7c1d

Browse files
Rocketctsandeepmistry
authored andcommitted
Fix GSMClient::write(uint8_t c) (#34)
1 parent 367beb7 commit 47e7c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GSMClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ void GSMClient::beginWrite(bool sync)
227227

228228
size_t GSMClient::write(uint8_t c)
229229
{
230-
return write(&c);
230+
return write(&c, 1);
231231
}
232232

233233
size_t GSMClient::write(const uint8_t *buf)

0 commit comments

Comments
 (0)