From 2061069b2e814544dcf5e8f5310b74a9158359c8 Mon Sep 17 00:00:00 2001 From: Terry Moore Date: Sun, 12 Jun 2022 16:59:45 -0400 Subject: [PATCH] Fix #332: fix member initializer order, cFlash_AT25SF081() --- src/Catena_Flash_at25sf081.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Catena_Flash_at25sf081.h b/src/Catena_Flash_at25sf081.h index 114854f..1126972 100644 --- a/src/Catena_Flash_at25sf081.h +++ b/src/Catena_Flash_at25sf081.h @@ -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