@@ -265,7 +265,7 @@ static esp_err_t rc522_mifare_send(const rc522_handle_t rc522, const uint8_t *se
265265 return ESP_OK ;
266266}
267267
268- static esp_err_t rc522_mifare_get_number_of_sectors (rc522_picc_type_t type , uint8_t * out_result )
268+ esp_err_t rc522_mifare_get_number_of_sectors (rc522_picc_type_t type , uint8_t * out_result )
269269{
270270 RC522_CHECK (rc522_mifare_type_is_classic_compatible (type ) == false);
271271 RC522_CHECK (out_result == NULL );
@@ -288,7 +288,7 @@ static esp_err_t rc522_mifare_get_number_of_sectors(rc522_picc_type_t type, uint
288288 }
289289}
290290
291- inline static uint8_t rc522_mifare_get_sector_index_by_block_address (uint8_t block_address )
291+ inline uint8_t rc522_mifare_get_sector_index_by_block_address (uint8_t block_address )
292292{
293293 if (block_address < 128 ) {
294294 return block_address / 4 ;
@@ -298,7 +298,7 @@ inline static uint8_t rc522_mifare_get_sector_index_by_block_address(uint8_t blo
298298 }
299299}
300300
301- inline static esp_err_t rc522_mifare_get_number_of_blocks_in_sector (uint8_t sector_index , uint8_t * out_result )
301+ inline esp_err_t rc522_mifare_get_number_of_blocks_in_sector (uint8_t sector_index , uint8_t * out_result )
302302{
303303 RC522_CHECK (sector_index > RC522_MIFARE_SECTOR_INDEX_MAX );
304304 RC522_CHECK (out_result == NULL );
@@ -313,7 +313,7 @@ inline static esp_err_t rc522_mifare_get_number_of_blocks_in_sector(uint8_t sect
313313 return ESP_OK ;
314314}
315315
316- inline static esp_err_t rc522_mifare_get_sector_block_0_address (uint8_t sector_index , uint8_t * out_result )
316+ inline esp_err_t rc522_mifare_get_sector_block_0_address (uint8_t sector_index , uint8_t * out_result )
317317{
318318 RC522_CHECK (sector_index > RC522_MIFARE_SECTOR_INDEX_MAX );
319319 RC522_CHECK (out_result == NULL );
0 commit comments