Fix conflicting types for 'tfp_printf' (#8269)

* Refactor to use mpaland/printf

* trim firmware size

* remove keymap changes

* run clang format

* Fixup after rebase

* fix up git-submodule command for printf
This commit is contained in:
Joel Challis 2020-05-04 07:19:51 +01:00 committed by GitHub
parent f31bf1b202
commit e17b55e33a
Failed to generate hash of commit
10 changed files with 16 additions and 356 deletions

View file

@ -72,9 +72,7 @@ extern "C"
# elif defined(PROTOCOL_CHIBIOS) /* PROTOCOL_CHIBIOS */
# ifndef TERMINAL_ENABLE
# include "chibios/printf.h"
# endif
# include "printf.h" // lib/printf/printf.h
# ifdef USER_PRINT /* USER_PRINT */
@ -89,7 +87,6 @@ extern "C"
# define uprintf printf
# else /* NORMAL PRINT */
// Create user & normal print defines
# define print(s) printf(s)
# define println(s) printf(s "\r\n")