-
Notifications
You must be signed in to change notification settings - Fork 37
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
m_boot_count was uint16 should be uint32 and comments #310
Conversation
Already deleted from master
Only functional change it correction of m_boot_count from uint16 to uint32 and corresponding sizeof(m_boot_count) NOT sizeof(uint32). Fortunately the loader added fill bytes after m_boot_count otherwise read_boot_count rt_flash_load would have clobbered memory after m_boot_count. WAS .bss.m_boot_count 0x0000000020003840 0x2 _build/nrf52832_xxaa/app_log.c.o *fill* 0x0000000020003842 0x6 Change log message to use X not d Use TESTABLE_STATIC Add many comments Checked astyle , build and executed.
Can one of the admins verify this patch? |
Opps copy/paste error
ok to test |
What is the purpose of |
Good catch, thanks |
Sonar error is caused by external origin, it can be ignored here |
Comment lines like:
Are for ease of picking out functions while scrolling though . notice spaces where name is |
Only functional change is correction of m_boot_count from uint16 to uint32 and corresponding sizeof(m_boot_count) NOT sizeof(uint32).
Fortunately the loader added fill bytes after m_boot_count otherwise read_boot_count rt_flash_load would have clobbered memory after m_boot_count.
WAS
Change log message for store_block: to use %X not %d
Use TESTABLE_STATIC
MInor LOG changes
Add many comments
Checked astyle , build and executed.