X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/bb497e9d2ea1437c570e179e99f024d2bc456d6f..f1e16f884308e8ef720a4ecbcdcc97af97dce4bd:/avr/cmd_cpu.c diff --git a/avr/cmd_cpu.c b/avr/cmd_cpu.c index fd72b21..e5158fd 100644 --- a/avr/cmd_cpu.c +++ b/avr/cmd_cpu.c @@ -405,7 +405,7 @@ static const FLASH char * const FLASH cpu_strings[] = { command_ret_t do_cpuchk(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, int argc UNUSED, char * const argv[] UNUSED) { - uint_fast8_t cputype; + uint_fast8_t cputype = 0; ERRNUM err = ESUCCESS; uint8_t ram_save[cpuinfo_length]; @@ -490,7 +490,7 @@ command_ret_t do_cpu_test(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, int command_ret_t do_bus_test(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, int argc UNUSED, char * const argv[] UNUSED) { - char ch; + int ch; #if 0 int opt; @@ -655,7 +655,7 @@ command_ret_t do_cpu_freq(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, int } } while ((Stat & S_IO_0X40) == 0); - uint32_t cpu_freq; + uint32_t cpu_freq = 0; if (!err) cpu_freq = z80_measure_phi(lcycles);