abstract os priority for application tasks

This commit is contained in:
hathach
2013-05-14 21:32:13 +07:00
parent f8d1c3da3e
commit 40503b913b
9 changed files with 99 additions and 14 deletions
+1
View File
@@ -40,6 +40,7 @@
// INCLUDE
//--------------------------------------------------------------------+
#include "keyboard_app.h"
#include "app_os_prio.h"
#if TUSB_CFG_HOST_HID_KEYBOARD
+2
View File
@@ -46,6 +46,8 @@
#include "boards/board.h"
#include "tusb.h"
#include "app_os_prio.h"
#include "mouse_app.h"
#include "keyboard_app.h"
+1
View File
@@ -40,6 +40,7 @@
// INCLUDE
//--------------------------------------------------------------------+
#include "mouse_app.h"
#include "app_os_prio.h"
#if TUSB_CFG_HOST_HID_MOUSE
+1 -1
View File
@@ -76,7 +76,7 @@
#define TUSB_CFG_HOST_HID_KEYBOARD 1
#define TUSB_CFG_HOST_HID_MOUSE 1
#define TUSB_CFG_HOST_HID_GENERIC 0
#define TUSB_CFG_HOST_MSC 1
#define TUSB_CFG_HOST_MSC 0
//--------------------------------------------------------------------+
// DEVICE CONFIGURATION