]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - protocol/serial_mouse.h
Merge branch 'rhaberkorn-serial-mouse'
[tmk_firmware.git] / protocol / serial_mouse.h
index c3c19d7696bb47596a6f31d126ae64df1bef1261..226314fc0ed4dd9a3f5e9bb1cdb74484be2a25d0 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Copyright 2011 Jun Wako <wakojun@gmail.com>
+Copyright 2014 Robin Haberkorn <robin.haberkorn@googlemail.com>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -20,7 +20,14 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <stdint.h>
 
-uint8_t serial_mouse_init(void);
+#include "serial.h"
+
+static inline uint8_t serial_mouse_init(void)
+{
+    serial_init();
+    return 0;
+}
+
 void serial_mouse_task(void);
 
 #endif