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);
55
55
DigitalOut blue (PK_7, 1 );
56
56
57
57
Tick
8000
er swap_ticker;
58
- int envie_swap_index = -1 ;
58
+ int mcuboot_swap_index = -1 ;
59
59
60
60
static inline void swap_feedback () {
61
61
62
62
static int blink_idx = 0 ;
63
63
static int blink_state = 0 ;
64
64
65
- if (envie_swap_index >= 0 ){
65
+ if (mcuboot_swap_index >= 0 ){
66
66
switch (blink_state) {
67
67
case 0 : {
68
- if (blink_idx < envie_swap_index ) {
68
+ if (blink_idx < mcuboot_swap_index ) {
69
69
if (blue == 0 ){
70
70
blue = 1 ;
71
71
} else {
@@ -81,7 +81,7 @@ static inline void swap_feedback() {
81
81
break ;
82
82
83
83
case 1 : {
84
- if (blink_idx < (15 - envie_swap_index )) {
84
+ if (blink_idx < (15 - mcuboot_swap_index )) {
85
85
if (green == 0 ){
86
86
green = 1 ;
87
87
} else {
You can’t perform that action at this time.
0 commit comments