The unified diff between revisions [4cc7246c..] and [23a3e9a5..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'main.c'
# # old_revision [4cc7246c1b6c809c9dc15997798f6deed15b3631] # new_revision [23a3e9a50b4034343e3bd217d2c225dcaec064dd] # # patch "main.c" # from [48ab0f2657065a72781d68205f5b7ede8bfd60c4] # to [e1a823b4962f3e8dc43b519a1f57745854ae6689] # ============================================================ --- main.c 48ab0f2657065a72781d68205f5b7ede8bfd60c4 +++ main.c e1a823b4962f3e8dc43b519a1f57745854ae6689 @@ -277,7 +277,9 @@ void menu_handler(void) break; case 'P': putstr("Initialising timer... "); - timer_set_period(10*TIMER_MS); + /* We want a 100Hz loop but two samples per iteration. + * So, we go for 200Hz. */ + timer_set_period(5*TIMER_MS); reply("done"); wmp_start_zero(); break;