big delete ICU #4270

random doc
This commit is contained in:
rusefillc 2022-11-20 19:15:07 -05:00
parent dba737e9d5
commit 6c9f59fd56
2 changed files with 4 additions and 0 deletions

View File

@ -230,6 +230,9 @@ private:
};
}
/**
* Could this be unified with getIcuParams() method?
*/
static expected<stm32_pwm_config> getConfigForPin(brain_pin_e pin) {
switch (pin) {
#if STM32_PWM_USE_TIM1

View File

@ -110,6 +110,7 @@
/**
* ChibiOS limitation is that only channels #1 and #2 could be used for input capture
* Could this be unified with getConfigForPin() method?
*/
bool getIcuParams(brain_pin_e hwPin, iomode_t *af_ptr, ICUDriver ** icu_ptr, icuchannel_t *channel_ptr, uint32_t *clock_ptr)
{