Remove remaining tweak option

This commit is contained in:
whowechina
2026-03-24 11:32:19 +08:00
parent d3cd8833fc
commit 54e201bd3a
3 changed files with 1 additions and 6 deletions
-3
View File
@@ -41,9 +41,6 @@ static void display_nfc()
{
printf("[NFC Module]\n");
printf(" %s (%s)\n", nfc_module_name(), nfc_module_version());
if (strstr(nfc_module_name(), "5180") != NULL) {
printf(" TX Tweak: %s\n", aic_cfg->tweak.pn5180_tx ? "ON" : "OFF");
}
}
static void display_light()
-1
View File
@@ -16,7 +16,6 @@ static aic_cfg_t default_cfg = {
.light = { .level_idle = 24, .level_active = 128, .rgb_en = true, .led = true },
.reader = { .virtual_aic = true, .mode = MODE_AUTO },
.lcd = { .backlight = 200, },
.tweak = { .pn5180_tx = false },
};
aic_runtime_t aic_runtime;
+1 -2
View File
@@ -28,8 +28,7 @@ typedef struct __attribute__((packed)) {
uint8_t backlight;
} lcd;
struct {
bool pn5180_tx;
uint8_t reserved[7];
uint8_t reserved[8];
} tweak;
struct {
struct {