Merge pull request #32 from TomHarkness/master

Fix syntax
This commit is contained in:
RFID Research Group 2018-09-15 11:57:55 +02:00 committed by GitHub
commit 2611eef1b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,8 +80,9 @@ void setT55xxConfig(t55xx_config *c) {
printT55xxConfig();
#if WITH_FLASH
if (!FlashInit())
if (!FlashInit()) {
return;
}
Flash_CheckBusy(BUSY_TIMEOUT);
@ -100,8 +101,9 @@ t55xx_config* getT55xxConfig(void) {
void loadT55xxConfig(void) {
#if WITH_FLASH
if (!FlashInit())
if (!FlashInit()) {
return;
}
Flash_CheckBusy(BUSY_TIMEOUT);
Flash_WriteEnable();