8000 renamed envie_swap_index in mcuboot_swap_index · arduino/mcuboot-arduino-stm32h7@b53cb01 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b53cb01

Browse files
committed
renamed envie_swap_index in mcuboot_swap_index
1 parent 19f1615 commit b53cb01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/target.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,17 @@ DigitalOut green(PK_6, 1);
5555
DigitalOut blue(PK_7, 1);
5656

5757
Tick 8000 er swap_ticker;
58-
int envie_swap_index = -1;
58+
int mcuboot_swap_index = -1;
5959

6060
static 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 {

0 commit comments

Comments
 (0)
0