Ascii command for reboot changed from sb to sr

This commit is contained in:
Oskar Weigl
2019-06-20 14:53:18 -07:00
parent b7a830d53f
commit e7f8490b75
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -4,6 +4,9 @@ Please add a note of your changes below this heading if you make a Pull Request.
### Added
* Check current limit violation: added `ERROR_CURRENT_UNSTABLE`, `motor.config.current_lim_tolerance`.
### Changed
* Ascii command for reboot changed from `sb` to `sr`.
# Releases
## [0.4.10] - 2019-04-24
### Fixed
+1 -1
View File
@@ -210,7 +210,7 @@ void ASCII_protocol_process_line(const uint8_t* buffer, size_t len, StreamSink&
save_configuration();
} else if (cmd[1] == 'e'){ // Erase config
erase_configuration();
} else if (cmd[1] == 'b'){ // Reboot
} else if (cmd[1] == 'r'){ // Reboot
NVIC_SystemReset();
}
+1 -1
View File
@@ -136,4 +136,4 @@ Not all parameters can be accessed via the ASCII protocol but at least all param
#### System commands:
* `ss` - Save config
* `se` - Erase config
* `sb` - Reboot
* `sr` - Reboot