FabioBatSilva / ArduinoFake

Arduino mocking made easy
https://platformio.org/lib/show/1689/ArduinoFake
MIT License
102 stars 47 forks source link

Unable to mock 'when(!Serial)` #59

Open dansiviter opened 5 months ago

dansiviter commented 5 months ago

As per the documentation it should be possible to check if the connection is available.

Given:

when (!Serial);

The compiler spits out: undefined reference to 'Serial_::operator bool()'. It seems it was commented out some time ago.