Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexays committed Jul 1, 2023
1 parent 85854c7 commit cc4370f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/modules/network.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ class Network : public ALabel {
int32_t signal_strength_dbm_;
uint8_t signal_strength_;
std::string signal_strength_app_;
float frequency_;
uint32_t route_priority;

util::SleeperThread thread_;
util::SleeperThread thread_timer_;
#ifdef WANT_RFKILL
util::Rfkill rfkill_;
#endif
float frequency_;
};

} // namespace waybar::modules
5 changes: 2 additions & 3 deletions src/modules/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,10 @@ waybar::modules::Network::Network(const std::string &id, const Json::Value &conf
cidr_(0),
signal_strength_dbm_(0),
signal_strength_(0),
frequency_(0.0),
#ifdef WANT_RFKILL
rfkill_{RFKILL_TYPE_WLAN}
rfkill_{RFKILL_TYPE_WLAN},
#endif
{
frequency_(0.0), {

// Start with some "text" in the module's label_. update() will then
// update it. Since the text should be different, update() will be able
Expand Down

0 comments on commit cc4370f

Please sign in to comment.