https://github.com/libopencm3/libopencm3/pull/79/commits has some changes power that might matter depending on what order this goes in.

Also, why is this function commented out?