Skip to content

Commit

Permalink
fix(xod-arduino): fix forward declaration of HardwareSerial for ardui…
Browse files Browse the repository at this point in the history
…no:megaavr architecture
  • Loading branch information
brusherru committed Jul 9, 2020
1 parent fec882d commit ec12240
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions packages/xod-arduino/platform/uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
*
=============================================================================*/


#ifdef ARDUINO_ARCH_MEGAAVR
class arduino::HardwareSerial;
#else
class HardwareSerial;
#endif
class SoftwareSerial;

namespace xod {
Expand Down
20 changes: 10 additions & 10 deletions workspace/big-patch/__fixtures__/arduino.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec12240

Please sign in to comment.