From 94aab17705d2ac7ef0b713ff91a3ad24c5e95295 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 7 Mar 2024 21:08:54 +0100 Subject: [PATCH] text --- armsrc/Standalone/hf_unisniff.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/armsrc/Standalone/hf_unisniff.c b/armsrc/Standalone/hf_unisniff.c index 67bab9c85..5f6345edb 100644 --- a/armsrc/Standalone/hf_unisniff.c +++ b/armsrc/Standalone/hf_unisniff.c @@ -149,11 +149,9 @@ static void UniSniff_DownloadTraceInstructions(char *fn, const char *proto) { void ModInfo(void) { DbpString(" HF UNISNIFF - multimode HF sniffer (hazardousvoltage)"); Dbprintf(" Compile-time default protocol... %s", HF_UNISNIFF_PROTOCOL); - #ifdef WITH_FLASH - DbpString(" WITH_FLASH support"); + DbpString(" FLASH support................... yes"); #endif - } void RunMod(void) { @@ -184,7 +182,7 @@ void RunMod(void) { uint8_t default_sniff_protocol = sniff_protocol; if (g_dbglevel >= DBG_DEBUG) { - Dbprintf("Compile-time configured protocol... %u", sniff_protocol); + Dbprintf("Compile-time configured protocol... %s ( %u )", protocols[sniff_protocol], sniff_protocol); } #ifdef WITH_FLASH @@ -264,8 +262,9 @@ void RunMod(void) { } if (g_dbglevel >= DBG_DEBUG) { - Dbprintf("Run-time configured protocol.... %u", sniff_protocol); - Dbprintf("Run-time configured save_mode... %u", save_mode); + const char *save_modes[] = {"new", "append", "none"}; + Dbprintf("Run-time configured protocol.... %s ( %u )", protocols[sniff_protocol], sniff_protocol); + Dbprintf("Run-time configured save_mode... %s ( %u )", save_modes[save_mode], sniff_protocol); } }