Sync to latest aic pico library

This commit is contained in:
whowechina
2025-02-03 17:00:27 +08:00
parent 1f81e4ed88
commit c0c5a9ca3d
4 changed files with 4 additions and 4 deletions
Binary file not shown.
+2 -2
View File
@@ -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
View File
@@ -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");