Removed all internal printf dependencies should solve #10.

Added a switch to strip the api printf implementation
Added a write function as alternative to printf.
This commit is contained in:
prozessorkern
2019-06-24 16:51:23 +02:00
parent 7344075ad1
commit 424ca84f61
2 changed files with 41 additions and 11 deletions

View File

@@ -126,9 +126,14 @@ shellmatta_retCode_t shellmatta_addCmd( shellmatta_handle_t handle,
shellmatta_retCode_t shellmatta_processData(shellmatta_handle_t handle,
char *data,
uint32_t size);
shellmatta_retCode_t shellmatta_write( shellmatta_handle_t handle,
char *data,
uint32_t length);
#ifndef SHELLMATTA_STRIP_PRINTF
shellmatta_retCode_t shellmatta_printf( shellmatta_handle_t handle,
const char *fmt,
...);
#endif
#endif