Removed unused BUS field from RCC_Peripheral struct

This commit is contained in:
2025-08-29 22:51:31 -07:00
parent 83572b108a
commit 9cc3cbece4
5 changed files with 34 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ int main() {
Timer timer2 = getTimer(Timer_Key::S_TIM2);
timer2.setPrescaler(8000 - 1);
timer2.setARR(500 - 1);
timer2.setARR(2000 - 1);
timer2.setCallbackFunc(tim2Handler);
timer2.start();