summaryrefslogtreecommitdiff
path: root/demos/host/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-05-14 21:32:13 +0700
committerhathach <[email protected]>2013-05-14 21:32:13 +0700
commit40503b913b1f45dd5b508b134ec39b0febca6e93 (patch)
tree51c59e7e6ec5073652c30a7082f0e02a26b49ae5 /demos/host/src
parentf8d1c3da3ea65853bed37a22d438407df95c75f8 (diff)
abstract os priority for application tasks
Diffstat (limited to 'demos/host/src')
-rw-r--r--demos/host/src/keyboard_app.c1
-rw-r--r--demos/host/src/main.c2
-rw-r--r--demos/host/src/mouse_app.c1
-rw-r--r--demos/host/src/tusb_config.h2
4 files changed, 5 insertions, 1 deletions
diff --git a/demos/host/src/keyboard_app.c b/demos/host/src/keyboard_app.c
index 010ad4dcd..34c0c07a2 100644
--- a/demos/host/src/keyboard_app.c
+++ b/demos/host/src/keyboard_app.c
@@ -40,6 +40,7 @@
// INCLUDE
//--------------------------------------------------------------------+
#include "keyboard_app.h"
+#include "app_os_prio.h"
#if TUSB_CFG_HOST_HID_KEYBOARD
diff --git a/demos/host/src/main.c b/demos/host/src/main.c
index 4ac0e164e..8df3c76da 100644
--- a/demos/host/src/main.c
+++ b/demos/host/src/main.c
@@ -46,6 +46,8 @@
#include "boards/board.h"
#include "tusb.h"
+#include "app_os_prio.h"
+
#include "mouse_app.h"
#include "keyboard_app.h"
diff --git a/demos/host/src/mouse_app.c b/demos/host/src/mouse_app.c
index 4456aba67..b5a48119d 100644
--- a/demos/host/src/mouse_app.c
+++ b/demos/host/src/mouse_app.c
@@ -40,6 +40,7 @@
// INCLUDE
//--------------------------------------------------------------------+
#include "mouse_app.h"
+#include "app_os_prio.h"
#if TUSB_CFG_HOST_HID_MOUSE
diff --git a/demos/host/src/tusb_config.h b/demos/host/src/tusb_config.h
index 2297a6213..580870fc4 100644
--- a/demos/host/src/tusb_config.h
+++ b/demos/host/src/tusb_config.h
@@ -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