Merge branch 'bugfix/fix_sign_compare' into 'master'

global: fix sign-compare warnings for system level components

See merge request espressif/esp-idf!11252
This commit is contained in:
Angus Gratton
2021-01-13 12:45:05 +08:00
103 changed files with 221 additions and 215 deletions

View File

@@ -75,7 +75,7 @@ static void touch_pad_workaround_isr_internal(void *arg)
{
uint16_t ch_mask = 0;
uint32_t intr_mask = touch_hal_read_intr_status_mask();
uint32_t pad_num = touch_hal_get_current_meas_channel();
int pad_num = touch_hal_get_current_meas_channel();
/* Make sure that the scan done interrupt is generated after the last channel measurement is completed. */
if (intr_mask & TOUCH_PAD_INTR_MASK_SCAN_DONE) {
touch_hal_get_channel_mask(&ch_mask);