Skip to content

Commit

Permalink
Fix #332: fix member initializer order, cFlash_AT25SF081()
Browse files Browse the repository at this point in the history
  • Loading branch information
terrillmoore committed Jun 12, 2022
1 parent 34a51a1 commit 2061069
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Catena_Flash_at25sf081.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ class cFlash_AT25SF081 : public cFlash
/// \brief the constructor with CS pin provided.
///
cFlash_AT25SF081(uint8_t ChipSelectPin)
: m_CS(ChipSelectPin)
, m_csInitialized(true)
, m_Initialized(false)
: m_Initialized(false)
, m_registered(false)
, m_csInitialized(true)
, m_CS(ChipSelectPin)
{}

// uses default destructor
Expand Down

0 comments on commit 2061069

Please sign in to comment.