Arduboy2/src
Scott Allen a04edf24c1 Move mainNoUSB() to its own class
Suggested and developed by @Pharap

The mainNoUSB() function was never intended to be used directly in
sketches. To help prevent this, it has been made a private member of
a new class, Arduboy2NoUSB, which declares main() as a friend.

The ARDUBOY_NO_USB macro has been modified appropriately.

The Arduboy2Core class now inherits Arduboy2NoUSB, for sketches that
improperly have their own main() which calls the old version of
mainNoUSB() instead of using the ARDUBOY_NO_USB macro.
2020-07-25 18:38:04 -04:00
..
Arduboy2.cpp Change non-API EEPROM defines to constexpr 2020-07-24 17:15:37 -04:00
Arduboy2.h Rewrite Cabi README.md with more details 2020-07-25 18:37:44 -04:00
Arduboy2Audio.cpp Change non-API EEPROM defines to constexpr 2020-07-24 17:15:37 -04:00
Arduboy2Audio.h Make "static" the first keyword, for consistency 2020-07-20 19:19:50 -04:00
Arduboy2Beep.cpp Add Beep classes for playing simple tones 2018-03-11 05:40:44 -04:00
Arduboy2Beep.h Explicitly specify the type in doxygen code blocks 2018-03-11 05:40:44 -04:00
Arduboy2Core.cpp Move mainNoUSB() to its own class 2020-07-25 18:38:04 -04:00
Arduboy2Core.h Move mainNoUSB() to its own class 2020-07-25 18:38:04 -04:00
Arduboy2Data.cpp Refactor API code. Clarify and enhance user docs. 2020-07-24 17:15:13 -04:00
Sprites.cpp Add SpritesB class as alternative to Sprites 2018-03-22 08:11:24 -04:00
Sprites.h Add additional information to drawExternalMask 2019-07-13 10:33:29 +01:00
SpritesB.cpp Add SpritesB class as alternative to Sprites 2018-03-22 08:11:24 -04:00
SpritesB.h Add SpritesB class as alternative to Sprites 2018-03-22 08:11:24 -04:00
SpritesCommon.h Refactor API code. Clarify and enhance user docs. 2020-07-24 17:15:13 -04:00