mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	cleanup
This commit is contained in:
		| @@ -239,9 +239,9 @@ void IRAM_ATTR ESP32TouchComponent::touch_isr_handler(void *arg) { | |||||||
|     event.is_touched = is_touched; |     event.is_touched = is_touched; | ||||||
|  |  | ||||||
|     // Send to queue from ISR |     // Send to queue from ISR | ||||||
|     BaseType_t xHigherPriorityTaskWoken = pdFALSE; |     BaseType_t x_higher_priority_task_woken = pdFALSE; | ||||||
|     xQueueSendFromISR(component->touch_queue_, &event, &xHigherPriorityTaskWoken); |     xQueueSendFromISR(component->touch_queue_, &event, &x_higher_priority_task_woken); | ||||||
|     if (xHigherPriorityTaskWoken) { |     if (x_higher_priority_task_woken) { | ||||||
|       portYIELD_FROM_ISR(); |       portYIELD_FROM_ISR(); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user