libopencm3/libopencm3 — pull request #57 by tdaede (2012-10-31 20:45:35+00:00)
Title: F2/F4 timer merging action

F2 and F4 timer.c were just old copypastas of F1's timer.c, so I just made timer.c common. F2 and F4 still have duplicated special timer.h headers which add on to the common timer.h.

One function which was new to F2 and F4, timer_set_option, was added to timer.c encased in #ifdef.

One other difference which was dropped from the F4 version is the strange line on line 110 of f4/timer.c, which doesn't make any sense.