fix most warnings with rp2040 -wconversion
This commit is contained in:
		| @@ -152,7 +152,7 @@ uint16_t const* tud_descriptor_string_cb(uint8_t index, uint16_t langid) | ||||
|     const char* str = string_desc_arr[index]; | ||||
|  | ||||
|     // Cap at max char | ||||
|     chr_count = strlen(str); | ||||
|     chr_count = (uint8_t) strlen(str); | ||||
|     if ( chr_count > 31 ) { | ||||
|       chr_count = 31; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 hathach
					hathach