TimJTi commented on code in PR #7614: URL: https://github.com/apache/nuttx/pull/7614#discussion_r1032314382
########## arch/arm/src/sama5/sam_tsd.c: ########## @@ -1655,7 +1735,10 @@ int sam_tsd_register(struct sam_adc_s *adc, int minor) /* Initialize the touchscreen device driver instance */ - priv->adc = adc; /* Save the ADC device handle */ + priv->adc = adc; /* Save the ADC device handle */ + priv->threshx = INVALID_THRESHOLD; /* Initialize thresholding logic */ + priv->threshy = INVALID_THRESHOLD; /* Initialize thresholding logic */ + nxsem_init(&priv->waitsem, 0, 0); Review Comment: Wasn't my code or change. But can look at this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org