Skip to content
Snippets Groups Projects
Commit 4fe6bb6c authored by ave's avatar ave Committed by q3k
Browse files

Switch the REPL/fatal/disk restart button to right shoulder button

parent c3f5fdb0
Branches
Tags
1 merge request!206Switch the REPL/fatal/disk restart button to right shoulder button
...@@ -123,7 +123,7 @@ void st3m_mode_update_display(bool *restartable) { ...@@ -123,7 +123,7 @@ void st3m_mode_update_display(bool *restartable) {
case st3m_mode_kind_disk_sd: case st3m_mode_kind_disk_sd:
case st3m_mode_kind_disk_flash: { case st3m_mode_kind_disk_flash: {
const char *lines[] = { const char *lines[] = {
"Press left shoulder button", "Press right shoulder button",
"to exit.", "to exit.",
NULL, NULL,
}; };
...@@ -139,7 +139,7 @@ void st3m_mode_update_display(bool *restartable) { ...@@ -139,7 +139,7 @@ void st3m_mode_update_display(bool *restartable) {
_mode.shown = true; _mode.shown = true;
const char *lines[] = { const char *lines[] = {
"Send Ctrl-D over USB", "Send Ctrl-D over USB",
"or press left shoulder button", "or press right shoulder button",
"to restart.", "to restart.",
NULL, NULL,
}; };
...@@ -158,7 +158,7 @@ void st3m_mode_update_display(bool *restartable) { ...@@ -158,7 +158,7 @@ void st3m_mode_update_display(bool *restartable) {
} }
const char *lines[] = { const char *lines[] = {
msg, msg,
"Press left shoulder button", "Press right shoulder button",
"to restart.", "to restart.",
NULL, NULL,
}; };
...@@ -186,7 +186,7 @@ static void _task(void *arg) { ...@@ -186,7 +186,7 @@ static void _task(void *arg) {
st3m_mode_update_display(&restartable); st3m_mode_update_display(&restartable);
if (restartable) { if (restartable) {
st3m_tripos tp = st3m_io_left_button_get(); st3m_tripos tp = st3m_io_right_button_get();
if (tp == st3m_tripos_mid) { if (tp == st3m_tripos_mid) {
st3m_gfx_textview_t tv = { st3m_gfx_textview_t tv = {
.title = "Restarting...", .title = "Restarting...",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment