Format changes.

This commit is contained in:
Fabian Schlenz 2019-08-13 06:16:08 +02:00
parent 651a4e8510
commit f91266b628
3 changed files with 7 additions and 8 deletions

View File

@ -59,7 +59,7 @@ void Controller::_check_rfid() {
_player->play_album(s_uid); _player->play_album(s_uid);
} else { } else {
if (_no_rfid_card_count >= 1) { if (_no_rfid_card_count >= 1) {
INFO("No more RFID card."); INFO("No more RFID card.\n");
_player->stop(); _player->stop();
} else { } else {
_no_rfid_card_count++; _no_rfid_card_count++;

View File

@ -36,8 +36,7 @@ void setup() {
if (SD.begin(PIN_SD_CS)) { if (SD.begin(PIN_SD_CS)) {
INFO("SD card initialized.\n"); INFO("SD card initialized.\n");
} else { } else {
ERROR("Could not initialize SD card. Halting.\n"); ERROR("Could not initialize SD card.\n");
while(1);
} }
DEBUG("Initializing Player and Controller...\n"); DEBUG("Initializing Player and Controller...\n");