mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 01:49:24 +08:00
Fix an issue where button presses were missed in the touchscreen example due to incorrect packet processing. Previously, the driver waited to accumulate a batch of packets but only processed the first one, effectively discarding the rest. The driver now reads and processes packets one at a time to ensure no input events are lost. Also fixed typo: usbhost_xythreshold does not exist. Signed-off-by: Lwazi Dube <lwazeh@gmail.com>