mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-03-22 01:31:21 +03:00
fix problems with CANbus, add USB-dump of error & command codes for CAN
This commit is contained in:
@@ -50,7 +50,7 @@ typedef struct{
|
||||
uint8_t encreverse : 1; // bit1 - reversing encoder rotation TODO: configure encoder's timer to downcounting
|
||||
uint8_t haveencoder : 1; // bit2 - have encoder
|
||||
uint8_t donthold : 1; // bit3 - clear power @ stop (don't hold motor when stopped)
|
||||
uint8_t eswinv : 1; // bit4 - invers end-switches
|
||||
uint8_t eswinv : 1; // bit4 - inverse end-switches
|
||||
uint8_t keeppos : 1; // bit5 - keep current position (as servo motor)
|
||||
} motflags_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user