• G
    ringbuffer: fix the ambiguous name · 981d929b
    Grissiom 提交于
    RT_RINGBUFFER_SIZE could mean "the size of the whole buffer", "the size
    of the empty space" or "the size of the data". Moreover, it's never a
    micro anymore. Change it to rt_ringbuffer_data_len before it's too late.
    Also, RT_RINGBUFFER_EMPTY is changed to rt_ringbuffer_space_len.
    981d929b
cdc_vcom.c 18.5 KB