displayapp: Make Ble references const

This commit is contained in:
Riku Isokoski
2023-02-23 22:24:07 +02:00
parent 76f07de64b
commit 255b07094b
30 changed files with 42 additions and 42 deletions

View File

@@ -14,14 +14,14 @@ namespace Pinetime {
class FirmwareUpdate : public Screen {
public:
FirmwareUpdate(DisplayApp* app, Pinetime::Controllers::Ble& bleController);
FirmwareUpdate(DisplayApp* app, const Pinetime::Controllers::Ble& bleController);
~FirmwareUpdate() override;
void Refresh() override;
private:
enum class States { Idle, Running, Validated, Error };
Pinetime::Controllers::Ble& bleController;
const Pinetime::Controllers::Ble& bleController;
lv_obj_t* bar1;
lv_obj_t* percentLabel;
lv_obj_t* titleLabel;