Samsung / TizenFX

C# Device APIs for Tizen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inconsistent API in GPIO edge callback

kwieclaw opened this issue · comments

Currently, the implementation uses Read() to create EventArgs in Peripheral.Gpio.OnInterrupted. Unfortunately, value can change from the moment callback was called to the moment of calling Read(). This can result in passing value High, when user registered only on falling edge. That makes this parameter basically useless and misleading.

This parameter should be either dropped or changed to provide consistent and deterministic results.

#2737 - ready to be merged, and is necessary for:
#2798 which provides fix for this.

#2737 - merged
#2798 - ready to merged
Please test #2798 on image number >= tizen-unified_20210413.2.

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days