From 843c234bcf04299d7783f35e17072609e53186d0 Mon Sep 17 00:00:00 2001 From: Sani7 Date: Wed, 29 Nov 2023 21:27:26 +0100 Subject: [PATCH] tcp_cmd add testing capabilities to header file --- project/Core/Inc/tcp_cmd.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/project/Core/Inc/tcp_cmd.h b/project/Core/Inc/tcp_cmd.h index d970a58..fa6f063 100644 --- a/project/Core/Inc/tcp_cmd.h +++ b/project/Core/Inc/tcp_cmd.h @@ -6,14 +6,19 @@ #ifndef INC_TCP_CMD_H_ #define INC_TCP_CMD_H_ - -#include -#include -#include +#ifndef TESTING #include "lcd_api.h" +#else +#include "mocs.h" +#endif #include "llfs.h" #include "log.h" void tcp_cmd_init(void); +void tcp_cmd_init( void ); +void tcp_cmd_write(struct tcp_pcb* pcb, const char* str); +void tcp_cmd_print_help(struct tcp_pcb* pcb); + + #endif /* INC_TCP_CMD_H_ */