pull/1080/head
Oleksiy Slyshyk 2020-12-19 14:41:26 +02:00
rodzic a66557a102
commit 0b7b1f3b03
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -249,6 +249,7 @@ if (MSVC)
# Add getopt to sources
include_directories(src/win32/getopt)
set(ST-UTIL_SOURCES "${ST-UTIL_SOURCES};src/win32/getopt/getopt.c")
set(ST-TRACE_SOURCES "${ST-TRACE_SOURCES};src/win32/getopt/getopt.c")
endif ()
add_executable(st-flash ${ST-FLASH_SOURCES})

Wyświetl plik

@ -552,7 +552,7 @@ int main(int argc, char** argv)
}
ILOG("Reading Trace\n");
st_trace_t trace = {};
st_trace_t trace = {0};
trace.start_time = time(NULL);
if (stlink_run(stlink)) {