util: export queue_FrontByte correctly

This commit is contained in:
Edgaru089 2021-10-23 20:11:37 +08:00
parent 69f50aa3e8
commit 5a4f1cc745

View File

@ -34,7 +34,7 @@ uint8_t queue_PopByte(queue *q) {
return data; return data;
} }
uint8_t queue_TopByte(queue *q) { uint8_t queue_FrontByte(queue *q) {
if (q->count == 0) { if (q->count == 0) {
io_WriteConsoleASCII("queue_TopByte: accessing an empty queue\n"); io_WriteConsoleASCII("queue_TopByte: accessing an empty queue\n");
return 0; return 0;