1
0
mirror of https://github.com/whowechina/chu_pico.git synced 2024-11-11 22:47:09 +01:00

Display NFC module in CLI

This commit is contained in:
whowechina 2024-04-05 20:58:55 +08:00
parent 9cd84993ff
commit f63dbe7418
2 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -7,8 +7,6 @@
#include "pico/stdio.h"
#include "pico/stdlib.h"
#include "aime.h"
#include "config.h"
#include "air.h"
#include "slider.h"
@ -16,7 +14,9 @@
#include "cli.h"
#include "i2c_hub.h"
#include "nfc.h"
#include "aime.h"
#define SENSE_LIMIT_MAX 9
#define SENSE_LIMIT_MIN -9
@ -77,6 +77,7 @@ static void disp_hid()
static void disp_aime()
{
printf("[AIME]\n");
printf(" NFC Module: %s\n", nfc_module_name());
printf(" Virtual AIC: %s\n", chu_cfg->virtual_aic ? "ON" : "OFF");
}