加入状态机
This commit is contained in:
@@ -48,6 +48,7 @@ void fifo_clear(fifo_t* self){
|
||||
self->read_idx = self->write_idx = 0;
|
||||
}
|
||||
|
||||
|
||||
OS_STATIC_FORCE_INLINE
|
||||
os_bool_t fifo_is_empty(fifo_t* self){
|
||||
return (self->write_idx==self->read_idx);
|
||||
|
||||
Reference in New Issue
Block a user