diff options
author | Joel Challis <git@zvecr.com> | 2021-02-14 01:44:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-14 01:44:22 +0000 |
commit | 1f2fe2eab99548f4bde2a79b03e3303cc9b73214 (patch) | |
tree | 22c7b61acf16ce3e25b5c35ce56cc2bb6ebec290 /tmk_core/common/sendchar.h | |
parent | 72e515547aedbfd0b91296a51a81861236be8fe5 (diff) | |
download | qmk_firmware-1f2fe2eab99548f4bde2a79b03e3303cc9b73214.tar.gz qmk_firmware-1f2fe2eab99548f4bde2a79b03e3303cc9b73214.zip |
Refactor platform logic within print.h (#11863)
* Remove GCC check from debug
* Remove platform logic from common.mk
* Refactor platform logic within print.h
* restore debug.c format
* headers
* Rename function pointer type
* review comments
* Update tmk_core/common/printf.c
Co-authored-by: Nick Brassel <nick@tzarc.org>
* Format
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'tmk_core/common/sendchar.h')
-rw-r--r-- | tmk_core/common/sendchar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/sendchar.h b/tmk_core/common/sendchar.h index b150dd464e..edcddaa6bb 100644 --- a/tmk_core/common/sendchar.h +++ b/tmk_core/common/sendchar.h @@ -23,6 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. extern "C" { #endif +typedef int8_t (*sendchar_func_t)(uint8_t c); + /* transmit a character. return 0 on success, -1 on error. */ int8_t sendchar(uint8_t c); |