• Y
    [Timer] Initialize the last tmrCtrls. · ba7acaa5
    yifan hao 提交于
    While initialize timer module, tmrCtrls is constructed to be a free
    list. However, the last tmrCtrls is never initialized, which is
    allocated from malloc(). Since the code relies on tmrCtrls->next
    to tell if there's any free tmrCtrls left, the last tmrCtrls should
    be properly linked to NULL.
    ba7acaa5
ttimer.c 16.9 KB