1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

riotboot/flashwrite: use LOG_DEBUG when printing bytes processed

This commit is contained in:
Alexandre Abadie 2019-11-15 11:55:44 +01:00
parent c8461a4bef
commit c596aa5184
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -65,7 +65,7 @@ int riotboot_flashwrite_init_raw(riotboot_flashwrite_t *state, int target_slot,
int riotboot_flashwrite_putbytes(riotboot_flashwrite_t *state,
const uint8_t *bytes, size_t len, bool more)
{
LOG_INFO(LOG_PREFIX "processing bytes %u-%u\n", state->offset, state->offset + len - 1);
LOG_DEBUG(LOG_PREFIX "processing bytes %u-%u\n", state->offset, state->offset + len - 1);
while (len) {
size_t flashpage_pos = state->offset % FLASHPAGE_SIZE;