Skip to content

Commit

Permalink
Merge pull request #22 from 4-20ma/issue_15_update_pointers_to_match_…
Browse files Browse the repository at this point in the history
…cpp_convention

Fix #15 Update pointers to match C++ convention
  • Loading branch information
4-20ma committed May 22, 2015
2 parents e5f3eab + f01114c commit 75fe6e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ModbusMaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ Arduino library for communicating with Modbus slaves over RS232/485 (via RTU pro

/* _____GLOBAL VARIABLES_____________________________________________________ */
#ifdef __AVR__
HardwareSerial *MBSerial = &Serial; ///< Pointer to Serial class object
HardwareSerial* MBSerial = &Serial; ///< Pointer to Serial class object
#endif

#ifdef __arm__
UARTClass *MBSerial = &Serial; ///< Pointer to Serial class object
UARTClass* MBSerial = &Serial; ///< Pointer to Serial class object
#endif


Expand Down

0 comments on commit 75fe6e2

Please sign in to comment.