Fehler #696
Touch: Whole processing is done in ISR
Beginn:
25.09.2025
Abgabedatum:
% erledigt:
0%
Geschätzter Aufwand:
CS Zielversion:
Beschreibung
In theory the application could be accessing EEPROM and user can press touch.
The I2C periphery would then get reconfigured, touch get read, returned to application, EEPROM access fails.
This could be fixed by locks. But then the codepath to read touch in applications event loop has to exist anyways.
Processing has to be implement to be called from event loop.
Meanwhile there are deferred signals and a global event loop. This can be easily adapted.
The state-machine can be split: the signal of the input can only handle the interrupt line; the event loop does not know about the line.
Historie
Von Maximilian Seesslen vor 6 Monaten aktualisiert
- Status wurde von Neu zu In Bearbeitung geändert
- Zugewiesen an wurde auf Maximilian Seesslen gesetzt
- Zielversion wurde auf v2.17.0 gesetzt