From b39e379e95c0374907999a1ca4f63b57a4aac0ff Mon Sep 17 00:00:00 2001 From: IonutParau Date: Sun, 29 Mar 2026 23:23:38 +0200 Subject: [PATCH] eeprom stuff --- src/neonucleus.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/neonucleus.h b/src/neonucleus.h index 89ecf99..2a0f00b 100644 --- a/src/neonucleus.h +++ b/src/neonucleus.h @@ -879,7 +879,10 @@ typedef struct nn_EEPROMRequest { void *state; const nn_EEPROM *eeprom; nn_EEPROMAction action; - char *buf; + union { + char *buf; + const char *robuf; + }; size_t buflen; } nn_EEPROMRequest;