Replies: 1 comment 1 reply
-
Attributes are one byte long. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking at
settings.c
, and part of theSETTINGS_FactoryReset
function:That matches with one section in the
SETTINGS_InitEEPROM
function also insettings.c
:Except the following declaration from
misc.h
indicates each channel att contains 2 bytes:and the declaration also in
misc.h
indicates there's 207 of them:Surely that would mean it needs 207 objects * 2 bytes each = 414 bytes, but 0D60..0E27 represents 3424..3623 = 200 bytes - One for each channel, not the required two.
But then also in the
SETTINGS_InitEEPROM
function insettings.c
:Doesn't that mean it reads 16-bit (2 bytes) for each channel?
I'm clearly missing something, could someone help clarify this for me please?
Beta Was this translation helpful? Give feedback.
All reactions