Merge pull request #654 from CapeLeidokos/pr_virtual_build_fix_f2

Fixed a function argument error
pull/659/head
Jesse Vincent 6 years ago committed by GitHub
commit b0dd6a635d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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