Добавлено смещение для векторов прерываний
This commit is contained in:
parent
f02703659d
commit
ca5dfc9698
2 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue