The unified diff between revisions [65df00aa..] 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 [65df00aa2705ce33fd74f4dd706d2879fe99b2b0] # new_revision [23a3e9a50b4034343e3bd217d2c225dcaec064dd] # # patch "main.c" # from [5c11844a2fa7481ccddb49faaace19b7c21a1c7f] # to [e1a823b4962f3e8dc43b519a1f57745854ae6689] # ============================================================ --- main.c 5c11844a2fa7481ccddb49faaace19b7c21a1c7f +++ main.c e1a823b4962f3e8dc43b519a1f57745854ae6689 @@ -277,8 +277,11 @@ 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; default: reply("Unrecognised command.");