1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-10 14:42:08 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
e79eb1174d BREAKING: Change return EEPROM.end() to bool (#7630) 2020-10-15 15:03:28 -07:00
4aeb0f5cca Use direct member initialization instead of ctr initialisation (#7558)
* Use direct member initialization instead of ctr initialisation

This removes a bit of code repetition.

* Add symbolic names for member initializers
2020-10-05 13:56:08 -07:00
eea9999dc5 Revert "Allman now (#6080)" (#6090)
This reverts commit 98125f8860.
2019-05-14 00:09:54 +02:00
98125f8860 Allman now (#6080)
* switch restyle script for CI

* remove confirmation

* restyle with allman
2019-05-13 16:41:34 +02:00
422f35938a Added length and operator[] methods, added some constness, missed dirty clear (#3855)
* Added length and operator[] methods, added some constness, missed _dirty clear

* Added forgotten const
2017-11-20 16:25:52 -03:00
1b76e9bf72 Clear dirty flag in begin and reallocate only if necessary, add getConstDataPtr method (#2217) (#3849) 2017-11-20 14:39:27 -03:00
53d7cc01cf Optimize EEPROM::put (#2487)
* EEPROM Library:
Improved put function, compare data and only in case are different set _dirty flag, copy the data

* It will grant that the _dirty flag is reset only at EEPROM.commit() and no changes are lost
2017-10-15 02:16:42 -05:00
18297458be allows global object instances be switch off with defines (#2344) 2016-08-01 11:21:50 +08:00
b1f2fdb9cc EEPROM: fix incorrect start address, support multiple instances
related to #279, #240
2015-05-21 10:56:10 +03:00
48ddce71c6 add EEPROM.getDataPtr()
fix all warnings in EEPROMClass
2015-05-03 18:15:54 +02:00
3406b47949 increase irom0 from 0x3C000 to 0x6B000 (+192KB) space 2015-05-03 17:44:20 +02:00
5a4c4c3427 Use memcpy instead of loop 2015-04-18 22:48:04 +07:00
2adda59b6d Add get and put functions to EEPROM
As available in http://www.arduino.cc/en/Reference/EEPROM
2015-04-18 16:08:36 +07:00
8ac5d70b70 Add get and put functions to EEPROM
As available in http://www.arduino.cc/en/Reference/EEPROM
2015-04-18 15:33:45 +07:00
6c344ffbb1 Update license headers in files that were completely rewritten 2014-12-19 01:40:47 +03:00
84765a16b0 EEPROM library 2014-12-09 22:20:30 +03:00