mirror of
https://github.com/whowechina/aic_pico.git
synced 2026-10-09 23:58:13 +03:00
Remove remaining tweak option
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user