remove fifo from cli header and include stdbool.h

This commit is contained in:
2024-04-05 20:41:56 +02:00
parent 3ee76d0925
commit 69c6f63251

View File

@@ -1,13 +1,14 @@
#ifndef CLI_h
#define CLI_h
#include <stdbool.h>
#include "../CMDList.h"
#include "../FIFOFuff.h"
typedef CLI_lineOutFn(char* line) CLI_lineoutFn_t;
// initilize and register the lineout print function
bool init(CLI_lineoutFn_t* lineOut, CMDList_t* cmdList, FIFOBuffChar_t* fifo);
bool init(CLI_lineoutFn_t* lineOut, CMDList_t* cmdList);
// to recive a single caracter
bool CLI_charIn(char c);