mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-20 22:55:00 +08:00
Ascii command for reboot changed from sb to sr
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user