Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

big flash size though eeprom warning #228

Open
traxanos opened this issue Feb 6, 2023 · 0 comments
Open

big flash size though eeprom warning #228

traxanos opened this issue Feb 6, 2023 · 0 comments

Comments

@traxanos
Copy link
Contributor

traxanos commented Feb 6, 2023

Hi

when i use flash sizes greater than a 16bit int, the eeprom methods though warning. is not ciritcal because when you use flash instead eeprom this methods shouldn't use.

<command-line>: warning: unsigned conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} changes value from '1044480' to '61440' [-Woverflow]
lib\knx\src\knx\platform.cpp:144:32: note: in expansion of macro 'KNX_FLASH_SIZE'
  144 |         return getEepromBuffer(KNX_FLASH_SIZE);```
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

No branches or pull requests

1 participant