Fixed build of bitmaps. Added antenna icons.

This commit is contained in:
Dual Tachyon 2023-08-15 13:57:20 +01:00
parent cfe558b52e
commit 9bcb613a70
3 changed files with 33 additions and 16 deletions

View File

@ -37,6 +37,7 @@ OBJS += driver/uart.o
OBJS += aircopy.o
OBJS += audio.o
OBJS += battery.o
OBJS += bitmaps.o
OBJS += board.o
OBJS += dcs.o
OBJS += dtmf.o

View File

@ -1,4 +1,4 @@
#include "bitmap.h"
#include "bitmaps.h"
const uint8_t BITMAP_PowerSave[8] = { 0x00, 0x26, 0x49, 0x49, 0x49, 0x49, 0x49, 0x32 };
@ -22,3 +22,11 @@ const uint8_t BITMAP_KEYPAD_TONE[9] = { 0x00, 0x18, 0x18, 0x24, 0x24, 0x42, 0x42
const uint8_t BITMAP_FM_Mute[12] = { 0x00, 0x7F, 0x09, 0x09, 0x09, 0x01, 0x00, 0x7F, 0x02, 0x0C, 0x02, 0x7F };
const uint8_t BITMAP_NOAA[12] = { 0x00, 0x7F, 0x04, 0x08, 0x10, 0x7F, 0x00, 0x46, 0x49, 0x49, 0x49, 0x31 };
const uint8_t BITMAP_Antenna[5] = { 0x03, 0x05, 0x7F, 0x05, 0x03 };
const uint8_t BITMAP_AntennaLevel1 = { 0x60, 0x60, 0x00 };
const uint8_t BITMAP_AntennaLevel2 = { 0x70, 0x70, 0x00 };
const uint8_t BITMAP_AntennaLevel3 = { 0x78, 0x78, 0x00 };
const uint8_t BITMAP_AntennaLevel4 = { 0x7C, 0x7C, 0x00 };
const uint8_t BITMAP_AntennaLevel5 = { 0x7E, 0x7E, 0x00 };
const uint8_t BITMAP_AntennaLevel6 = { 0x7F, 0x7F, 0x00 };

View File

@ -1,27 +1,35 @@
#ifndef BITMAP_H
#define BITMAP_H
const uint8_t BITMAP_PowerSave[8];
extern const uint8_t BITMAP_PowerSave[8];
const uint8_t BITMAP_BatteryLevel1[18];
const uint8_t BITMAP_BatteryLevel2[18];
const uint8_t BITMAP_BatteryLevel3[18];
const uint8_t BITMAP_BatteryLevel4[18];
const uint8_t BITMAP_BatteryLevel5[18];
extern const uint8_t BITMAP_BatteryLevel1[18];
extern const uint8_t BITMAP_BatteryLevel2[18];
extern const uint8_t BITMAP_BatteryLevel3[18];
extern const uint8_t BITMAP_BatteryLevel4[18];
extern const uint8_t BITMAP_BatteryLevel5[18];
const uint8_t BITMAP_USB_C[9];
const uint8_t BITMAP_KeyLock[9];
extern const uint8_t BITMAP_USB_C[9];
extern const uint8_t BITMAP_KeyLock[9];
const uint8_t BITMAP_F_Key[10];
extern const uint8_t BITMAP_F_Key[10];
const uint8_t BITMAP_VOX[18];
extern const uint8_t BITMAP_VOX[18];
const uint8_t BITMAP_WX[12];
const uint8_t BITMAP_TDR[12];
const uint8_t BITMAP_KEYPAD_TONE[9];
extern const uint8_t BITMAP_WX[12];
extern const uint8_t BITMAP_TDR[12];
extern const uint8_t BITMAP_KEYPAD_TONE[9];
const uint8_t BITMAP_FM_Mute[12];
const uint8_t BITMAP_NOAA[12];
extern const uint8_t BITMAP_FM_Mute[12];
extern const uint8_t BITMAP_NOAA[12];
extern const uint8_t BITMAP_Antenna[5];
extern const uint8_t BITMAP_AntennaLevel1[3];
extern const uint8_t BITMAP_AntennaLevel2[3];
extern const uint8_t BITMAP_AntennaLevel3[3];
extern const uint8_t BITMAP_AntennaLevel4[3];
extern const uint8_t BITMAP_AntennaLevel5[3];
extern const uint8_t BITMAP_AntennaLevel6[3];
#endif