Skip to content

Commit

Permalink
chore: Updating the crc32.h header name to dl_crc32.h
Browse files Browse the repository at this point in the history
Signed-off-by: Ota Fejfar <[email protected]>
  • Loading branch information
fejfao1 committed Sep 13, 2024
1 parent 9cc903e commit 6b37d0f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "bootloader_util.h"
#include "nrf_dfu_types.h"
#include "nrf_nvmc.h"
#include "utils/crc32.h"
#include "utils/dl_crc32.h"

#define EXIT_IF_FALSE( err, msg ) if ( ( err ) == false ) goto _EXIT;

Expand Down Expand Up @@ -88,7 +88,7 @@ static inline uint32_t _settings_crc_calc( const settings_page_t * _settings_pag
settings_page_temp.header.crc = 0;

/* Calculate the settings crc */
crc_calc = crc32_calculate_data( CRC_INITIAL_VALUE, (uint8_t *)&settings_page_temp, sizeof(settings_page_t) );
crc_calc = dlcrc32_calculate_data( CRC_INITIAL_VALUE, (uint8_t *)&settings_page_temp, sizeof(settings_page_t) );

return crc_calc;
}
Expand Down

0 comments on commit 6b37d0f

Please sign in to comment.