Fixed a function argument error

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
pull/654/head
Florian Fleissner 6 years ago
parent b818be1d8e
commit 18093e4852

@ -136,7 +136,7 @@ class Bitfield : public internal::_BaseBitfield {
// access method isBitSet(raw_pos) otherwise. // access method isBitSet(raw_pos) otherwise.
// //
constexpr bool operator[](uint8_t raw_pos) const { constexpr bool operator[](uint8_t raw_pos) const {
return this->isBitSetPROGMEM_P(raw_pos); return this->isBitSetPROGMEM_P(&bits_, raw_pos);
} }
private: private:

Loading…
Cancel
Save