File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,17 @@ DigitalOut green(PK_6, 1);
5555DigitalOut blue (PK_7, 1 );
5656
5757Ticker swap_ticker;
58- int envie_swap_index = -1 ;
58+ int mcuboot_swap_index = -1 ;
5959
6060static inline void swap_feedback () {
6161
6262 static int blink_idx = 0 ;
6363 static int blink_state = 0 ;
6464
65- if (envie_swap_index >= 0 ){
65+ if (mcuboot_swap_index >= 0 ){
6666 switch (blink_state) {
6767 case 0 : {
68- if (blink_idx < envie_swap_index ) {
68+ if (blink_idx < mcuboot_swap_index ) {
6969 if (blue == 0 ){
7070 blue = 1 ;
7171 } else {
@@ -81,7 +81,7 @@ static inline void swap_feedback() {
8181 break ;
8282
8383 case 1 : {
84- if (blink_idx < (15 - envie_swap_index )) {
84+ if (blink_idx < (15 - mcuboot_swap_index )) {
8585 if (green == 0 ){
8686 green = 1 ;
8787 } else {
You can’t perform that action at this time.
0 commit comments