Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
SRGDamia1 committed Dec 23, 2019
1 parent 6f3315d commit bcbfddb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SensorModbusMaster",
"version": "0.6.6",
"version": "0.6.7",
"keywords": "sensor, modbus, master, EnviroDIY",
"description": "Arduino library for communicating via modbus with the Arduino acting as master",
"repository":
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=SensorModbusMaster
version=0.6.6
version=0.6.7
author=Sara Damiano <[email protected]>
maintainer=Sara Damiano <[email protected]>
sentence=Arduino library for communicating via modbus with the Arduino acting as master
Expand Down
6 changes: 5 additions & 1 deletion src/SensorModbusMaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
*/

#include "SensorModbusMaster.h"
#define _debugStream if (NULL!= _debugStream1) _debugStream1

// A define on the debugging to make sure we never attempt to access a null pointer
// Thank you Neil Hancock for this catch!
#define _debugStream if (NULL != _debugStream1) _debugStream1

// initialize the response buffer
byte modbusMaster::responseBuffer[RESPONSE_BUFFER_SIZE] = {0x00,};
byte modbusMaster::crcFrame[2] = {0x00,};
Expand Down

0 comments on commit bcbfddb

Please sign in to comment.