Skip to content

Commit

Permalink
Merge branch 'fix_FreeRTOS_critical_error' into 'master'
Browse files Browse the repository at this point in the history
fix: FreeRTOS critical error in Arancino.begin()

See merge request smartme.io/arancino/arancino-library!12
  • Loading branch information
sergiotomasello committed Feb 27, 2020
2 parents 7894435 + e40a251 commit 17dab12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Arancino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void ArancinoClass::begin(int timeout) {
{
packet = communicationErrorPacket;
}
std::free(message);

}while (packet.isError == true || packet.responseCode != RSP_OK);
std::free(str);

Expand Down

0 comments on commit 17dab12

Please sign in to comment.