|
|
@ -151,7 +151,7 @@ FORCE_INLINE block_t *plan_get_current_block()
|
|
|
|
return(block);
|
|
|
|
return(block);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Gets the current block. Returns NULL if buffer empty
|
|
|
|
// Returns true if the buffer has a queued block, false otherwise
|
|
|
|
FORCE_INLINE bool blocks_queued()
|
|
|
|
FORCE_INLINE bool blocks_queued()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (block_buffer_head == block_buffer_tail) {
|
|
|
|
if (block_buffer_head == block_buffer_tail) {
|
|
|
|