mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-15 15:59:39 -05:00
parent
83b65ba6ce
commit
b9771b2350
6 changed files with 124 additions and 96 deletions
|
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
* Copyright (C) 2015 Jared Boone, ShareBrained Technology, Inc.
|
||||
* Copyright (C) 2016 Furrtek
|
||||
* Copyright (C) 2024 HTotoo
|
||||
*
|
||||
* This file is part of PortaPack.
|
||||
*
|
||||
|
|
@ -28,8 +29,6 @@
|
|||
#include "ui_navigation.hpp"
|
||||
#include "string_format.hpp"
|
||||
#include "i2cdevmanager.hpp"
|
||||
#include "i2cdev_max17055.hpp"
|
||||
#include "i2cdev_ads1110.hpp"
|
||||
|
||||
namespace ui {
|
||||
class BattinfoView : public View {
|
||||
|
|
@ -46,8 +45,6 @@ class BattinfoView : public View {
|
|||
|
||||
private:
|
||||
void update_result();
|
||||
void update_results_max17055(i2cdev::I2cDev_MAX17055* dev);
|
||||
void update_results_ads1110(i2cdev::I2cDev_ADS1110* dev);
|
||||
void on_timer();
|
||||
NavigationView& nav_;
|
||||
uint16_t timer_period = 60;
|
||||
|
|
@ -109,4 +106,4 @@ class BattinfoView : public View {
|
|||
|
||||
} /* namespace ui */
|
||||
|
||||
#endif /*__UI_BATTINFO__*/
|
||||
#endif /*__UI_BATTINFO__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue