diff --git a/projects/rfdsatt/rfdsatt.c b/projects/rfdsatt/rfdsatt.c index 8a9817a..68a6f14 100644 --- a/projects/rfdsatt/rfdsatt.c +++ b/projects/rfdsatt/rfdsatt.c @@ -153,7 +153,7 @@ DEFUN(reset, reset_cmd, "reset", "Reset the board") DEFUN(uuid, uuid_cmd, "uuid", "Get the unique ID") { - char uuid[4*3+1]; + char uuid[4*3*2+1]; desig_get_unique_id_as_string(uuid, sizeof(uuid)); printf("UUID: %s\r\n", uuid); } @@ -190,7 +190,7 @@ DEFUN(att_set, att_set_cmd, "attenuator-set", static void print_banner(void) { - char uuid[4*3+1]; + char uuid[4*3*2+1]; desig_get_unique_id_as_string(uuid, sizeof(uuid)); printf("\r\n======================================================================\r\n");