mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2025-12-22 22:21:58 +00:00
Infer eeconfig identifiers (#22135)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -22,6 +22,10 @@ void eeprom_update_dword(uint32_t *__p, uint32_t __value);
|
||||
void eeprom_update_block(const void *__src, void *__dst, size_t __n);
|
||||
#endif
|
||||
|
||||
static inline void eeprom_write_qword(uint64_t *__p, uint64_t __value) {
|
||||
eeprom_update_block(&__value, __p, sizeof(uint64_t));
|
||||
}
|
||||
|
||||
#if defined(EEPROM_CUSTOM)
|
||||
# ifndef EEPROM_SIZE
|
||||
# error EEPROM_SIZE has not been defined for custom driver.
|
||||
|
||||
Reference in New Issue
Block a user