Skip to content

Commit

Permalink
Fixed mbed action
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Feb 12, 2025
1 parent 9c0f9c4 commit f4d02e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/GaugeBQ27220.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
#include "REG/BQ27220Constants.h"
#include "SensorPlatform.hpp"

// BQ27220 Unique device address
static constexpr uint8_t BQ27220_SLAVE_ADDRESS = (0x55);

typedef struct {
//* Reserved bits
// bool RSV[6];
Expand Down
1 change: 0 additions & 1 deletion src/REG/BQ27220Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
class BQ27220Constants
{
protected:
static constexpr uint8_t BQ27220_SLAVE_ADDRESS = (0x55);

//* Sub command
static constexpr uint16_t BQ27220_SUB_CMD_CTRL_STATUS = (0x0000);
Expand Down

0 comments on commit f4d02e0

Please sign in to comment.