прототип функции put теперь такой же, как у оригинальной arduino
This commit is contained in:
1 parent
661224d260
commit
a31b5a48c0
1 file changed
+1
-1
@@ -94,7 +94,7 @@ struct EEPROMClass{
|
||||
uint16_t length() { return (uint16_t)EEPROM_LENGHT; }
|
||||
|
||||
template< typename T >
|
||||
T &put(int idx, T &data)
|
||||
const T &put(int idx, const T &data)
|
||||
{
|
||||
void* dataPointer = (void*)&data;
|
||||
// check if idx is valid
|
||||
|
||||
Reference in new issue
Block a user