mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-12 17:49:31 +00:00
Fix BLE TX warning, regenerate bitmap.hpp (#2762)
* fix 'progress' variable warning, added a TODO * up to date bitmap.hpp file, soundboard icon
This commit is contained in:
@@ -293,6 +293,8 @@ void BLETxView::on_timer() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void BLETxView::on_tx_progress(const bool done, uint32_t progress) {
|
void BLETxView::on_tx_progress(const bool done, uint32_t progress) {
|
||||||
|
// TODO: make use of progress variable
|
||||||
|
(void)progress;
|
||||||
if (done) {
|
if (done) {
|
||||||
if (is_active()) {
|
if (is_active()) {
|
||||||
transmitter_model.disable();
|
transmitter_model.disable();
|
||||||
|
|||||||
@@ -3689,6 +3689,44 @@ static constexpr Bitmap bitmap_icon_sonde{
|
|||||||
{16, 16},
|
{16, 16},
|
||||||
bitmap_icon_sonde_data};
|
bitmap_icon_sonde_data};
|
||||||
|
|
||||||
|
static constexpr uint8_t bitmap_icon_soundboard_data[] = {
|
||||||
|
0xF0,
|
||||||
|
0x0F,
|
||||||
|
0x1C,
|
||||||
|
0x18,
|
||||||
|
0x17,
|
||||||
|
0x38,
|
||||||
|
0x15,
|
||||||
|
0x78,
|
||||||
|
0x15,
|
||||||
|
0xF8,
|
||||||
|
0x15,
|
||||||
|
0x82,
|
||||||
|
0x15,
|
||||||
|
0x8B,
|
||||||
|
0xD5,
|
||||||
|
0x83,
|
||||||
|
0xD5,
|
||||||
|
0xBB,
|
||||||
|
0xD5,
|
||||||
|
0x83,
|
||||||
|
0x15,
|
||||||
|
0x8B,
|
||||||
|
0x15,
|
||||||
|
0x92,
|
||||||
|
0x15,
|
||||||
|
0xA0,
|
||||||
|
0x17,
|
||||||
|
0x80,
|
||||||
|
0x1C,
|
||||||
|
0x80,
|
||||||
|
0xF0,
|
||||||
|
0xFF,
|
||||||
|
};
|
||||||
|
static constexpr Bitmap bitmap_icon_soundboard{
|
||||||
|
{16, 16},
|
||||||
|
bitmap_icon_soundboard_data};
|
||||||
|
|
||||||
static constexpr uint8_t bitmap_icon_speaker_data[] = {
|
static constexpr uint8_t bitmap_icon_speaker_data[] = {
|
||||||
0x00,
|
0x00,
|
||||||
0x00,
|
0x00,
|
||||||
|
|||||||
Reference in New Issue
Block a user