[CLI] Update CLI to use RTOS abstraction layer; Also remove a redundant/unused runMemoryTest().

This commit is contained in:
Max Paperno
2018-09-08 19:07:43 -04:00
parent 691d3e6e33
commit 942ae1847d
3 changed files with 39 additions and 61 deletions
+3 -6
View File
@@ -2,7 +2,7 @@
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
@@ -29,13 +29,10 @@ extern uint8_t cliTracesEnabled;
#include "fifo.h"
extern Fifo<uint8_t, 256> cliRxFifo;
#include "tasks_arm.h"
#define CLI_STACK_SIZE 1000
extern OS_TID cliTaskId;
extern TaskStack<CLI_STACK_SIZE> cliStack;
extern RTOS_TASK_HANDLE cliTaskId;
extern RTOS_DEFINE_STACK(cliStack, CLI_STACK_SIZE);
#endif
void cliStart();
void cliStackPaint();
uint32_t cliStackFree();
#endif // _CLI_H_