Skip to content

Commit

Permalink
reinstated the previous fix for BATTERY_OK_STANDBY
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini committed Dec 18, 2023
1 parent 0dc4cc1 commit fa80572
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libraries/icubmod/bcbBattery/bcbBattery.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ class batteryReaderThread : public PeriodicThread
double battery_current = 0;
std::string battery_info = "icub battery system v1.0";
int backpack_status = 0;
#if YARP_VERSION_MAJOR == 3 && YARP_VERSION_MINOR <= 8
IBattery::Battery_status battery_status = IBattery::Battery_status::BATTERY_OK_STANBY;
#else
IBattery::Battery_status battery_status = IBattery::Battery_status::BATTERY_OK_STANDBY;
#endif

batteryReaderThread (ISerialDevice *_iSerial, double period) :
PeriodicThread((double)period),
Expand Down

0 comments on commit fa80572

Please sign in to comment.