Add NBR_847 (used with ISO14443B) and update convert function.

This commit is contained in:
Romuald Conty 2010-10-20 08:34:06 +00:00
parent aba4cec7d6
commit 5538fbd20f
2 changed files with 4 additions and 0 deletions

View file

@ -305,6 +305,7 @@ typedef enum {
NBR_106, NBR_106,
NBR_212, NBR_212,
NBR_424, NBR_424,
NBR_847,
} nfc_baud_rate_t; } nfc_baud_rate_t;
/** /**

View file

@ -1521,6 +1521,9 @@ pn53x_nm_to_pm(const nfc_modulation_t nm)
case NBR_424: case NBR_424:
return PM_ISO14443B_424; return PM_ISO14443B_424;
break; break;
case NBR_847:
return PM_ISO14443B_847;
break;
case NBR_UNDEFINED: case NBR_UNDEFINED:
// XXX What to do ? // XXX What to do ?
break; break;