Closed pianistrevor closed 2 years ago
Please convert tabs to spaces in your code
Let's delay merging this until we get more discussion on #321. I'd also like some reassurance that cout << "blah" << flush
is functionally equivalent (in terms of segfaults) to cerr << "blah"
.
I don't mean to be pedantic about this, but the original code I wrote use cout
instead of cerr
and I made the switch after troubleshooting unit tests that had segfaults in them: https://github.com/adafruit/Adafruit-WS2801-Library/pull/20
In other words, cerr
was the difference between seeing and not seeing the source of that segfault.
I think I'll take just the indentation and apply suggested changes in a new PR, while holding off on the cerr
discussion.
Highlights from
CHANGELOG.md
Issues Fixed