Добавлено смещение для векторов прерываний

This commit is contained in:
lulko 2025-03-05 16:45:21 +03:00
parent f02703659d
commit ca5dfc9698
2 changed files with 6 additions and 1 deletions

View file

@ -276,6 +276,9 @@ void foc_step(BLDCMotor *motor, Commander *commander) {
void setup() {
/* bias for vector int */
SCB->VTOR = APP_ADDR;
Serial.setRx(HARDWARE_SERIAL_RX_PIN);
Serial.setTx(HARDWARE_SERIAL_TX_PIN);
Serial.begin(115200);