remov-b4-flight / LrTMAX

USB MIDI controller for Lightroom Classic & MIDI2LR that have 8 axis rotary encoder.(Open Source Hardware)
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Delay_usのたびにTIM14を初期化している #1

Closed remov-b4-flight closed 2 years ago

remov-b4-flight commented 2 years ago

Delay_us()の呼び出し毎に HAL_TIM_Base_Init(&htim14); を呼んでいるが、必要なのか?

remov-b4-flight commented 2 years ago

0.49c-4 Fix seem to be work properly.

remov-b4-flight commented 2 years ago

タイマー期間の設定に使っているので、やっぱり必要ではないのか?

remov-b4-flight commented 2 years ago

Now, Delay_us() only used as generate 'RESET' state for series of WS2812, move Delay_us() to led.c, no duration change, no reinitialization needed.