Loading tests/m48t59-test.c +5 −0 Original line number Diff line number Diff line Loading @@ -233,6 +233,11 @@ static void fuzz_registers(void) reg = (uint8_t)g_test_rand_int_range(0, 16); val = (uint8_t)g_test_rand_int_range(0, 256); if (reg == 7) { /* watchdog setup register, may trigger system reset, skip */ continue; } cmos_write(reg, val); cmos_read(reg); } Loading Loading
tests/m48t59-test.c +5 −0 Original line number Diff line number Diff line Loading @@ -233,6 +233,11 @@ static void fuzz_registers(void) reg = (uint8_t)g_test_rand_int_range(0, 16); val = (uint8_t)g_test_rand_int_range(0, 256); if (reg == 7) { /* watchdog setup register, may trigger system reset, skip */ continue; } cmos_write(reg, val); cmos_read(reg); } Loading