From 0c21da8be0b4b39b7a2d0ac973a1db4248f962c6 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 14 Oct 2024 18:36:54 +0200 Subject: [PATCH] pm3_lib: load preferences file --- client/src/pm3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/pm3.c b/client/src/pm3.c index af0654bfb..600fd07ca 100644 --- a/client/src/pm3.c +++ b/client/src/pm3.c @@ -26,9 +26,11 @@ #include "usart_defs.h" #include "util_posix.h" #include "comms.h" +#include "preferences.h" pm3_device_t *pm3_open(const char *port) { pm3_init(); + preferences_load(); OpenProxmark(&g_session.current_device, port, false, 20, false, USART_BAUD_RATE); if (g_session.pm3_present && (TestProxmark(g_session.current_device) != PM3_SUCCESS)) { PrintAndLogEx(ERR, _RED_("ERROR:") " cannot communicate with the Proxmark3\n");