Skip to content

Commit 3315b72

Browse files
STM32CubeWL: Fix signed vs unsigned comparison warning
1 parent 36303c0 commit 3315b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/STM32CubeWL/SubGHz_Phy/stm32_radio_driver/lr_fhss_mac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ STATIC uint16_t lr_fhss_payload_interleaving( const uint8_t *data_in, uint16_t d
784784

785785
lr_fhss_set_bit_in_byte_vector( data_out, 0 + out_row_index, 0 ); // guard bits
786786
lr_fhss_set_bit_in_byte_vector( data_out, 1 + out_row_index, 0 ); // guard bits
787-
for( uint32_t j = 0; j < in_row_width; j++ )
787+
for( int32_t j = 0; j < in_row_width; j++ )
788788
{
789789
lr_fhss_set_bit_in_byte_vector( data_out, j + 2 + out_row_index,
790790
lr_fhss_extract_bit_in_byte_vector( data_in, pos ) ); // guard bit

0 commit comments

Comments
 (0)