Fix bitmap

This commit is contained in:
Armel FAUVEAU
2024-06-24 19:32:50 +02:00
parent ee59118fce
commit 9f425bf085
4 changed files with 11 additions and 10 deletions

View File

@@ -203,34 +203,30 @@ const uint8_t BITMAP_ScanList4[7] =
0b01111111,
};
const uint8_t BITMAP_ScanList5[11] =
const uint8_t BITMAP_ScanList5[9] =
{
// 'All List' symbol
0b11111111,
0b11000011,
0b10111101,
0b10111101,
0b11011011,
0b11100111,
0b11011011,
0b10111101,
0b10111101,
0b11000011,
0b11111111
};
const uint8_t BITMAP_ScanList6[11] =
const uint8_t BITMAP_ScanList6[9] =
{
// 'All' symbol
0b00000000,
0b00111100,
0b01000010,
0b01000010,
0b00100100,
0b00011000,
0b00100100,
0b01000010,
0b01000010,
0b00111100,
0b00000000
};

View File

@@ -34,8 +34,8 @@ extern const uint8_t BITMAP_ScanList1[7];
extern const uint8_t BITMAP_ScanList2[7];
extern const uint8_t BITMAP_ScanList3[7];
extern const uint8_t BITMAP_ScanList4[7];
extern const uint8_t BITMAP_ScanList5[11];
extern const uint8_t BITMAP_ScanList6[11];
extern const uint8_t BITMAP_ScanList5[9];
extern const uint8_t BITMAP_ScanList6[9];
extern const uint8_t BITMAP_compand[6];
#ifndef ENABLE_CUSTOM_MENU_LAYOUT

View File

@@ -922,6 +922,11 @@ void UI_DisplayMain(void)
memcpy(p_line0 + 128 - (shiftList * 7), BITMAP_ScanList3, sizeof(BITMAP_ScanList3));
}
if(countList == 0)
{
memcpy(p_line0 + 128 - (1 * 7), BITMAP_ScanList4, sizeof(BITMAP_ScanList4));
}
/*
if (att.scanlist1)
memcpy(p_line0 + 107, BITMAP_ScanList1, sizeof(BITMAP_ScanList1));

View File

@@ -108,10 +108,10 @@ void UI_DisplayStatus()
memcpy(line + x + 2, BITMAP_ScanList4, sizeof(BITMAP_ScanList4));
break;
case 4:
memcpy(line + x, BITMAP_ScanList5, sizeof(BITMAP_ScanList5));
memcpy(line + x + 1, BITMAP_ScanList5, sizeof(BITMAP_ScanList5));
break;
case 5:
memcpy(line + x, BITMAP_ScanList6, sizeof(BITMAP_ScanList6));
memcpy(line + x + 1, BITMAP_ScanList6, sizeof(BITMAP_ScanList6));
break;
}
}