forked from mirrors/qmk_userspace
factored out serial_mouse_init() into serial_mouse.h
This commit is contained in:
parent
7dde35d4f7
commit
0bfba7acc4
3 changed files with 8 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue