File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ void ExternalEEPROM::disablePollForWriteComplete()
115
115
{
116
116
settings.pollForWriteComplete = false ;
117
117
}
118
- uint16_t ExternalEEPROM::getI2CBufferSize ()
118
+ constexpr uint16_t ExternalEEPROM::getI2CBufferSize ()
119
119
{
120
120
return I2C_BUFFER_LENGTH_TX;
121
121
}
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class ExternalEEPROM
117
117
uint8_t getPageWriteTime ();
118
118
void enablePollForWriteComplete (); // Most EEPROMs all I2C polling of when a write has completed
119
119
void disablePollForWriteComplete ();
120
- uint16_t getI2CBufferSize (); // Return the size of the TX buffer
120
+ constexpr uint16_t getI2CBufferSize (); // Return the size of the TX buffer
121
121
122
122
// Functionality to 'get' and 'put' objects to and from EEPROM.
123
123
template <typename T>
You can’t perform that action at this time.
0 commit comments