This fixes a SIGSEGV bug when the timer test is executed inside the
BeRTOS emulator demo.
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3168
38d2e660-2303-0410-9eaa-
f027e97ec537
+ LIST_INIT(&synctimer_list);
for (i = 0; i < countof(synctimer_timers); ++i)
{
Timer *timer = &synctimer_timers[i];
for (i = 0; i < countof(synctimer_timers); ++i)
{
Timer *timer = &synctimer_timers[i];
IRQ_ENABLE;
wdt_start(7);
timer_init();
IRQ_ENABLE;
wdt_start(7);
timer_init();
- LIST_INIT(&synctimer_list);