Skip to content

Commit

Permalink
Improve messaging on motors tab (betaflight#3753)
Browse files Browse the repository at this point in the history
* Improve messaging on motors tab

* Update messages.json
  • Loading branch information
haslinghuis authored and chmelevskij committed Apr 27, 2024
1 parent 505fdb6 commit 1e027e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2995,7 +2995,7 @@
"message": "Master"
},
"motorsNotice": {
"message": "<strong>Motor Test Mode / Arming Notice:</strong><br />Moving the sliders or arming your craft with the transmitter will cause the motors to <strong>spin up</strong>.<br />In order to prevent injury <strong class=\"message-negative\">remove ALL propellers</strong> before using this feature.<br />Enabling motor test mode will also temporarily disable Runaway Takeoff Prevention, to stop it from disarming the craft when bench testing without propellers.<br />"
"message": "<strong>Motor Test Mode / Arming Notice:</strong><br /><br /><strong class=\"message-negative\">WARNING: Serious risk of injury! Remove all propellers!</strong><br /><br /><ul><li>&#x2022; Motors will spin up when armed or when sliders are raised</li><li>&#x2022; Motor test mode will remain active after moving to another Tab</li><li>&#x2022; Hitting any key will stop the motors, but only in the Motors Tab</li><li>&#x2022; Disconnecting the USB cable may not stop the motors!</li></ul>"
},
"motorsEnableControl": {
"message": "<strong>I understand the risks</strong>, the propellers are removed - enable motor control and arming, and disable Runaway Takeoff Prevention."
Expand Down
4 changes: 2 additions & 2 deletions src/css/tabs/motors.less
Original file line number Diff line number Diff line change
Expand Up @@ -605,11 +605,11 @@
}
}
.notice {
float: right;
float: left;
padding: 5px;
border: 2px solid var(--subtleAccent);
border-radius: 3px;
background-color: #FFFFFF;
background-color: #fff7cd;
font-size: 11px;
margin-top: 10px;
p {
Expand Down

0 comments on commit 1e027e4

Please sign in to comment.