Skip to content

Commit

Permalink
Update Pixxi_Serial_4DLib.cpp
Browse files Browse the repository at this point in the history
Minor fix for SAM specific boards
  • Loading branch information
4D Systems authored Nov 6, 2020
1 parent e7c3245 commit f871cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pixxi_Serial_4DLib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

Pixxi_Serial_4DLib::Pixxi_Serial_4DLib(Stream * virtualPort) {
_virtualPort = virtualPort;
#ifndef _SAM3XA_
// Only done on non Arduino Due Boards
#if !defined(ARDUINO_ARCH_SAMD) || (ARDUINO_ARCH_SAM)
//Only done for non-SAMD/SAM architectures
_virtualPort->flush();
#endif
}
Expand Down

0 comments on commit f871cd7

Please sign in to comment.