More sonarlint work

This commit is contained in:
Jasmine Iwanek
2023-06-09 23:46:54 -04:00
parent 0d1d069af4
commit ee695e71f9
218 changed files with 6282 additions and 3845 deletions

View File

@@ -834,7 +834,9 @@ nvr_reset(nvr_t *nvr)
{
local_t *local = (local_t *) nvr->data;
/* memset(nvr->regs, local->def, RTC_REGS); */
#if 0
memset(nvr->regs, local->def, RTC_REGS);
#endif
memset(nvr->regs, local->def, nvr->size);
nvr->regs[RTC_DOM] = 1;
nvr->regs[RTC_MONTH] = 1;