message: Update the current control loop speed
diff: //TODO: make this come automatically out of CubeMX somehow
  #define TIM_TIME_BASE TIM14
  -#define CURRENT_MEAS_PERIOD ((float)(2*TIM_1_8_PERIOD_CLOCKS)/(float)TIM_1_8_CLOCK_HZ)
  -#define CURRENT_MEAS_HZ (TIM_1_8_CLOCK_HZ/(2*TIM_1_8_PERIOD_CLOCKS))
  +#define CURRENT_MEAS_PERIOD ((float)(2.0f*TIM_1_8_PERIOD_CLOCKS*(TIM_1_8_RCR+1)/(float)TIM_1_8_CLOCK_HZ))
  +#define CURRENT_MEAS_HZ ((float)(TIM_1_8_CLOCK_HZ/(2.0f*TIM_1_8_PERIOD_CLOCKS*(TIM_1_8_RCR+1))))
  #if HW_VERSION_VOLTAGE == 48
  #define VBUS_S_DIVIDER_RATIO 19.0f
  