Handle float moves and check the number of arguments
DeltaStage sends moves commands as floats which led to occasional hard crashes, this avoids it. Incorrect number of arguments to move commands is now handled gracefully and this will later be extended to more commands.
This commit is contained in:
parent
767f86b683
commit
59b5ae50a4
4 changed files with 71 additions and 14 deletions
|
|
@ -8,7 +8,7 @@
|
|||
//general settings
|
||||
#define MAX_COMMANDS 50
|
||||
#define MAX_MODULES 10
|
||||
#define MAX_ARGUMENT_LENGTH 20 //used in argument parsing, takes up ram
|
||||
#define MAX_ARGUMENT_LENGTH 25 //used in argument parsing, takes up ram
|
||||
#define VERSION_STRING "Sangaboard Firmware v1.0.0-dev"
|
||||
#define DEBUG_ON
|
||||
#define EMULATED_EEPROM_SIZE 512
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue