mirror of
https://github.com/whowechina/chu_pico.git
synced 2026-09-22 22:37:54 +03:00
Sync to latest aic pico library
This commit is contained in:
Binary file not shown.
Submodule firmware/modules/aic_pico updated: 297c5d2a08...1d06678453
@@ -499,7 +499,7 @@ static void handle_nfc()
|
||||
nfc_rf_field(true);
|
||||
nfc_card_t card = nfc_detect_card();
|
||||
nfc_rf_field(false);
|
||||
printf("Card: %s", nfc_card_name(card.card_type));
|
||||
printf("Card: %s", nfc_card_type_str(card.card_type));
|
||||
for (int i = 0; i < card.len; i++) {
|
||||
printf(" %02x", card.uid[i]);
|
||||
}
|
||||
@@ -515,7 +515,7 @@ static bool handle_aime_mode(const char *mode)
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
aime_set_mode(chu_cfg->aime.mode);
|
||||
aime_sub_mode(chu_cfg->aime.mode);
|
||||
config_changed();
|
||||
return true;
|
||||
}
|
||||
|
||||
+1
-1
@@ -306,7 +306,7 @@ void init()
|
||||
nfc_init();
|
||||
aime_init(cdc_aime_putc);
|
||||
aime_virtual_aic(chu_cfg->aime.virtual_aic);
|
||||
aime_set_mode(chu_cfg->aime.mode);
|
||||
aime_sub_mode(chu_cfg->aime.mode);
|
||||
|
||||
cli_init("chu_pico>", "\n << Chu Pico Controller >>\n"
|
||||
" https://github.com/whowechina\n\n");
|
||||
|
||||
Reference in New Issue
Block a user