Skip to content

wire EEPROM doesn't write last index from cache! - #3696

Merged
Astralcircle merged 1 commit into
wiremod:masterfrom
AlexALX:patch-1
Aug 12, 2026
Merged

wire EEPROM doesn't write last index from cache!#3696
Astralcircle merged 1 commit into
wiremod:masterfrom
AlexALX:patch-1

Conversation

@AlexALX

@AlexALX AlexALX commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

I found this bug while debugging why i have data loss in eeprom after paste it again. and found critical bug! in lua #table will return 31 for 0-based lua table, not 32, since we are starting from 0 it should NOT have -1 here!!! After this change finally there is no anymore data loss issues!

I found this bug while debugging why i have data loss in eeprom after paste it again. and found critical bug! in lua #table will return 31 for 0-based lua table, not 32, since we are starting from 0 it should NOT have -1 here!!! After this change finally there is no anymore data loss issues!
@Astralcircle
Astralcircle merged commit e0bfeb4 into wiremod:master Aug 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants