added debug

This commit is contained in:
2021-10-28 16:57:36 +02:00
parent 2745677ab7
commit 4463b521e8

View File

@@ -203,13 +203,14 @@ void ConfigManager_HWInit (int8_t sck, int8_t miso, int8_t mosi, int8_t ss, int8
{ {
/* nothing to do, this is a trap for debug purpose you can use it to detect HW issue */ /* nothing to do, this is a trap for debug purpose you can use it to detect HW issue */
/* or GPIO config issue */ /* or GPIO config issue */
Serial.println("rfid: init POR sequence OK");
} }
/* Retrieve the IC version of the chip */ /* Retrieve the IC version of the chip */
ConfigManager_IDN(u95HFBuffer); ConfigManager_IDN(u95HFBuffer);
IcVers = (IC_VERSION) (u95HFBuffer[ROM_CODE_REVISION_OFFSET]); IcVers = (IC_VERSION) (u95HFBuffer[ROM_CODE_REVISION_OFFSET]);
Serial.printf("rfid: ICversion = %x\n",IcVers);
} }
/** /**