mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-20 03:52:29 -05: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:
parent
29bba4d0ea
commit
29bdc539a3
2 changed files with 40 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue