diff --git a/demos/host/.cproject b/demos/host/.cproject
index dc98420d3..079ac0add 100644
--- a/demos/host/.cproject
+++ b/demos/host/.cproject
@@ -92,6 +92,7 @@
+
@@ -182,6 +183,7 @@
+
diff --git a/demos/host/main.c b/demos/host/main.c
index cb14a3762..f2cd74eec 100644
--- a/demos/host/main.c
+++ b/demos/host/main.c
@@ -26,11 +26,10 @@ int main(void)
{
tusb_task_runner();
- if (current_tick + 30*1000 < system_ticks)
+ if (current_tick + 10*CFG_TICKS_PER_SECOND < system_ticks)
{
- current_tick += 30*1000;
- board_leds(0x01, (current_tick/1000)%2); /* Toggle LED once per second */
-
+ current_tick = system_ticks;
+// board_leds(0x01, (current_tick/CFG_TICKS_PER_SECOND)%2); /* Toggle LED once per second */
printf("tinyusb: " __DATE__ "\t" __TIME__ "\n");
}
}
diff --git a/tests/test/host/test_hid_host.c b/tests/test/host/test_hidh.c
similarity index 100%
rename from tests/test/host/test_hid_host.c
rename to tests/test/host/test_hidh.c
diff --git a/tests/test/host/test_hid_host_keyboard.c b/tests/test/host/test_hidh_keyboard.c
similarity index 100%
rename from tests/test/host/test_hid_host_keyboard.c
rename to tests/test/host/test_hidh_keyboard.c