summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/sendchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/sendchar.h')
-rw-r--r--tmk_core/common/sendchar.h2
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);