summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/rockblox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c
index 3bdae48..a3f5b16 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -447,7 +447,11 @@ static void init_rockblox (void)
static inline int level_speed(int level)
{
+#if BOARD_HEIGHT == 20
return (5*HZ) / (level + 9);
+#elif BOARD_HEIGHT == 14
+ return (7*HZ) / (level + 9);
+#endif
}
static int getRelativeX (int figure, int square, int orientation)