small fix in AMS3956 debug texts
This commit is contained in:
parent
e657e26886
commit
4611f05051
@ -277,10 +277,10 @@ bool ams_init()
|
|||||||
uint8_t productType = ams_read_reg(AMS_REG_PRODUCT_TYPE);
|
uint8_t productType = ams_read_reg(AMS_REG_PRODUCT_TYPE);
|
||||||
if (productType != 0x14)
|
if (productType != 0x14)
|
||||||
{
|
{
|
||||||
printf1(TAG_NFC,"Have no product type [0x%02x]. Connection error.\n", productType);
|
printf1(TAG_NFC, "Have no product type [0x%02x]. AMS3956 connection error.\n", productType);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
printf1(TAG_NFC,"Product type 0x%02x.\n", productType);
|
printf1(TAG_NFC,"AMS3956 product type 0x%02x.\n", productType);
|
||||||
|
|
||||||
// enable tunneling mode and RF configuration
|
// enable tunneling mode and RF configuration
|
||||||
ams_write_reg(AMS_REG_IC_CONF2, AMS_RFCFG_EN | AMS_TUN_MOD);
|
ams_write_reg(AMS_REG_IC_CONF2, AMS_RFCFG_EN | AMS_TUN_MOD);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user