Skip to content

Commit

Permalink
Rename button in prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
brghena authored and bradjc committed Jul 25, 2023
1 parent 25e6cd2 commit 602a736
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/tutorials/hotp/hotp_milestone_one/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ static void get_next_code(void) {
int main(void) {
delay_ms(1000);
printf("Tock HOTP App Started. Usage:\r\n"
"* Press button 0 to get the next HOTP code for that slot.\r\n"
"* Hold button 0 to enter a new HOTP secret for that slot.\r\n");
"* Press Button 1 to get the next HOTP code for that slot.\r\n"
"* Hold Button 1 to enter a new HOTP secret for that slot.\r\n");

// Initialize buttons
bool button_pressed = false;
Expand Down
4 changes: 2 additions & 2 deletions examples/tutorials/hotp/hotp_milestone_two/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ static void get_next_code(void) {
int main(void) {
delay_ms(1000);
printf("Tock HOTP App Started. Usage:\r\n"
"* Press button 0 to get the next HOTP code for that slot.\r\n"
"* Hold button 0 to enter a new HOTP secret for that slot.\r\n");
"* Press Button 1 to get the next HOTP code for that slot.\r\n"
"* Hold Button 1 to enter a new HOTP secret for that slot.\r\n");

// Initialize app state
if (initialize_app_state() != RETURNCODE_SUCCESS) {
Expand Down
4 changes: 2 additions & 2 deletions examples/tutorials/hotp/hotp_starter/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ static void get_next_code(void) {
int main(void) {
delay_ms(1000);
printf("Tock HOTP App Started. Usage:\r\n"
"* Press button 0 to get the next HOTP code for that slot.\r\n"
"* Hold button 0 to enter a new HOTP secret for that slot.\r\n");
"* Press Button 1 to get the next HOTP code for that slot.\r\n"
"* Hold Button 1 to enter a new HOTP secret for that slot.\r\n");

// Initialize buttons
bool button_pressed = false;
Expand Down

0 comments on commit 602a736

Please sign in to comment.