cl_utils: Get voltage only once.

This commit is contained in:
Uwe Bonnes 2020-10-23 14:52:56 +02:00 committed by UweBonnes
parent e6823f39de
commit 9d55128ab8
1 changed files with 1 additions and 2 deletions

View File

@ -298,7 +298,6 @@ int cl_execute(BMP_CL_OPTIONS_t *opt)
platform_srst_set_val(opt->opt_connect_under_reset);
if (opt->opt_mode == BMP_MODE_TEST)
DEBUG_INFO("Running in Test Mode\n");
if (platform_target_voltage())
DEBUG_INFO("Target voltage: %s Volt\n", platform_target_voltage());
if (opt->opt_usejtag) {
num_targets = platform_jtag_scan(NULL);