PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Diff: POKITTO_CORE/PokittoCore.cpp
- Revision:
- 44:2b8560b11eab
- Parent:
- 42:798b5d67b372
--- a/POKITTO_CORE/PokittoCore.cpp Tue May 01 18:42:56 2018 +0000 +++ b/POKITTO_CORE/PokittoCore.cpp Tue May 01 18:58:31 2018 +0000 @@ -477,7 +477,7 @@ if (vol>VOLUME_HEADPHONE_MAX) sound.setMaxVol(VOLUME_SPEAKER_MAX); else sound.setMaxVol(VOLUME_HEADPHONE_MAX); #ifdef PRODUCTIONTESTING - vol=255; + vol=240; sound.setMaxVol(VOLUME_SPEAKER_MAX); #endif for (uint8_t t=0;t<=vol;t++) { @@ -648,6 +648,7 @@ setVolLimit(); display.clear(); display.update(); + while(buttons.states[BTN_A]) { buttons.update(); @@ -1361,4 +1362,3 @@ -