summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/kb_scan.c2
-rw-r--r--test/mutex.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/kb_scan.c b/test/kb_scan.c
index be08e838ff..756d87b8ee 100644
--- a/test/kb_scan.c
+++ b/test/kb_scan.c
@@ -18,7 +18,7 @@
#define KEYDOWN_DELAY_MS 10
#define KEYDOWN_RETRY 10
-#define NO_KEYDOWN_DELAY_MS 200
+#define NO_KEYDOWN_DELAY_MS 100
#define TEST_ASSERT(n) \
do { \
diff --git a/test/mutex.c b/test/mutex.c
index bc20062d89..e795fa15b7 100644
--- a/test/mutex.c
+++ b/test/mutex.c
@@ -20,8 +20,8 @@ static uint32_t prng(uint32_t x)
return 22695477 * x + 1;
}
-/* period between 50us and 12.8ms */
-#define PERIOD_US(num) (((num % 256) + 1) * 50)
+/* period between 50us and 3.2ms */
+#define PERIOD_US(num) (((num % 64) + 1) * 50)
/* one of the 3 MTX3x tasks */
#define RANDOM_TASK(num) (TASK_ID_MTX3C + (num % 3))