Skip to content

Commit

Permalink
Fix typo in define name, preventing printing of bulk send errors
Browse files Browse the repository at this point in the history
  • Loading branch information
matthijskooijman committed Oct 24, 2014
1 parent 64e8865 commit c3aa847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GSModule/GSCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ bool GSCore::writeData(cid_t cid, const uint8_t *buf, uint16_t len)
// module responds with <ESC>O or <ESC>F.
writeRaw(header, 3);
if (!readDataResponse()) {
#ifdef GS_LOG_ERROR
#ifdef GS_LOG_ERRORS
SERIAL_PORT_MONITOR.println("Sending bulk data frame failed");
#endif
return false;
Expand Down Expand Up @@ -403,7 +403,7 @@ bool GSCore::writeData(cid_t cid, IPAddress ip, uint16_t port, const uint8_t *bu
// module responds with <ESC>O or <ESC>F.
writeRaw(header, 3);
if (!readDataResponse()) {
#ifdef GS_LOG_ERROR
#ifdef GS_LOG_ERRORS
SERIAL_PORT_MONITOR.println("Sending UDP server bulk data frame failed");
#endif
return false;
Expand Down

0 comments on commit c3aa847

Please sign in to comment.