fix compilation errors

This commit is contained in:
Conor Patrick
2019-02-26 13:27:25 -05:00
parent 1a6895ca25
commit 57930aaa13
4 changed files with 11 additions and 8 deletions

View File

@ -219,6 +219,7 @@ int ams_state_is_valid(uint8_t regval)
void ams_print_int0(uint8_t int0)
{
#if DEBUG_LEVEL
uint32_t tag = (TAG_NFC)|(TAG_NO_TAG);
printf1(TAG_NFC," ");
if (int0 & AMS_INT_XRF)
@ -239,10 +240,12 @@ void ams_print_int0(uint8_t int0)
printf1(tag," INIT");
printf1(tag,"\r\n");
#endif
}
void ams_print_int1(uint8_t int0)
{
#if DEBUG_LEVEL
uint32_t tag = (TAG_NFC)|(TAG_NO_TAG);
printf1(TAG_NFC," ");
if (int0 & AMS_INT_ACC_ERR)
@ -263,6 +266,7 @@ void ams_print_int1(uint8_t int0)
printf1(tag," RXS");
printf1(tag,"\r\n");
#endif
}