Remove trailing whitespace
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
This commit is contained in:
parent
35270f58cf
commit
db575de22a
2 changed files with 8 additions and 8 deletions
|
@ -286,15 +286,15 @@ namespace create {
|
|||
/**
|
||||
* \brief Set the four 7-segment display digits from left to right.
|
||||
*
|
||||
* \todo This function is not yet implemented refer to https://github.com/AutonomyLab/libcreate/issues/7
|
||||
* \todo This function is not yet implemented refer to https://github.com/AutonomyLab/libcreate/issues/7
|
||||
* \param segments to enable (true) or disable (false).
|
||||
* The size of segments should be less than 29.
|
||||
* The ordering of segments is left to right, top to bottom for each digit:
|
||||
*
|
||||
* <pre>
|
||||
0 7 14 21
|
||||
|‾‾‾| |‾‾‾| |‾‾‾| |‾‾‾|
|
||||
1 |___| 2 8 |___| 9 15 |___| 16 22 |___| 23
|
||||
0 7 14 21
|
||||
|‾‾‾| |‾‾‾| |‾‾‾| |‾‾‾|
|
||||
1 |___| 2 8 |___| 9 15 |___| 16 22 |___| 23
|
||||
| 3 | | 10| | 17| | 24|
|
||||
4 |___| 5 11|___| 12 18 |___| 19 25 |___| 26
|
||||
6 13 20 27
|
||||
|
|
|
@ -1063,7 +1063,7 @@ namespace create {
|
|||
}
|
||||
}
|
||||
|
||||
bool Create::isSideBrushOvercurrent() const {
|
||||
bool Create::isSideBrushOvercurrent() const {
|
||||
if (data->isValidPacketID(ID_OVERCURRENTS)) {
|
||||
return (GET_DATA(ID_OVERCURRENTS) & 0x01) != 0;
|
||||
}
|
||||
|
@ -1073,7 +1073,7 @@ namespace create {
|
|||
}
|
||||
}
|
||||
|
||||
bool Create::isMainBrushOvercurrent() const {
|
||||
bool Create::isMainBrushOvercurrent() const {
|
||||
if (data->isValidPacketID(ID_OVERCURRENTS)) {
|
||||
return (GET_DATA(ID_OVERCURRENTS) & 0x04) != 0;
|
||||
}
|
||||
|
@ -1082,8 +1082,8 @@ namespace create {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool Create::isWheelOvercurrent() const {
|
||||
|
||||
bool Create::isWheelOvercurrent() const {
|
||||
if (data->isValidPacketID(ID_OVERCURRENTS)) {
|
||||
return (GET_DATA(ID_OVERCURRENTS) & 0x18) != 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue