aboutsummaryrefslogtreecommitdiff
path: root/example-fsm-55
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2015-08-08 13:50:20 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2015-08-08 13:50:20 +0900
commit6e7334dcfff83898ff6b8568bf24c6fe90deaa9c (patch)
treead9d61988442fc7beb301c628721de256c6b8b9e /example-fsm-55
parent04a948024aae8cd78db65321ae0b2ee8c1aae0ae (diff)
Fix the score about A and tone-table change
Diffstat (limited to 'example-fsm-55')
-rw-r--r--example-fsm-55/hiroshi-ayumi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example-fsm-55/hiroshi-ayumi.c b/example-fsm-55/hiroshi-ayumi.c
index a636e38..a398689 100644
--- a/example-fsm-55/hiroshi-ayumi.c
+++ b/example-fsm-55/hiroshi-ayumi.c
@@ -181,7 +181,7 @@ spk (void *arg)
}
chopstx_mutex_unlock (&spk_mtx);
- w = tone_table[t];
+ w = tone_table[t]*5/3;
GPIO_OTHER->BSRR = (1 << GPIO_SPEAKER_PIN);
wait_for (w);
GPIO_OTHER->BRR = (1 << GPIO_SPEAKER_PIN);
@@ -215,7 +215,7 @@ static const char *musical_score =
static const char *musical_score =
"c4d4e2c4d4e2g4e4d4c4d4e4d2"
"c4d4e2c4d4e2g4e4d4c4d4e4c2"
- "g4g4e4g4a4a4g2e4e4d4d4c2";
+ "g4g4e4g4A4A4g2e4e4d4d4c2";
#endif
static int get_t_and_l (char *tp, char *lp)