Skip to content

Commit

Permalink
Fixed array as initializer (illegal pre-C++11)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Jul 6, 2020
1 parent 2a2efb5 commit c9add26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class Module {
/*!
\brief Line feed to be used when sending AT commands. Defaults to CR+LF.
*/
char AtLineFeed[3] = "\r\n";
char AtLineFeed[3] = {'\r', '\n'};

/*!
\brief Basic SPI read command. Defaults to 0x00.
Expand Down

0 comments on commit c9add26

Please sign in to comment.