Fix bitmap

This commit is contained in:
Armel FAUVEAU
2024-06-25 00:24:46 +02:00
parent 9f425bf085
commit acd7a6141b
3 changed files with 23 additions and 21 deletions

View File

@@ -203,32 +203,34 @@ const uint8_t BITMAP_ScanList4[7] =
0b01111111, 0b01111111,
}; };
const uint8_t BITMAP_ScanList5[9] = const uint8_t BITMAP_ScanList5[11] =
{ {
// 'All List' symbol // 'All List' symbol
0b11111111, 0b01111111,
0b11000011, 0b01100011,
0b10111101, 0b01011101,
0b11011011, 0b01011101,
0b11100111, 0b01101011,
0b11011011, 0b01110111,
0b10111101, 0b01101011,
0b11000011, 0b01011101,
0b11111111 0b01011101,
0b01100011,
0b01111111
}; };
const uint8_t BITMAP_ScanList6[9] = const uint8_t BITMAP_ScanList6[9] =
{ {
// 'All' symbol // 'All' symbol
0b00000000, 0b00011100,
0b00111100, 0b00100010,
0b01000010, 0b00100010,
0b00100100, 0b00010100,
0b00011000, 0b00001000,
0b00100100, 0b00010100,
0b01000010, 0b00100010,
0b00111100, 0b00100010,
0b00000000 0b00011100
}; };
const uint8_t BITMAP_compand[6] = const uint8_t BITMAP_compand[6] =

View File

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

View File

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