[Peripheral] Gpio callback return pin value from structure. (#2798)
authorxerrni <e.borowski@samsung.com>
Wed, 28 Apr 2021 05:46:17 +0000 (07:46 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Apr 2021 05:46:17 +0000 (14:46 +0900)
commit22f535d712f6ca134b1c5bdacea82514403db6d9
tree96ca3172ba68e81c2992c0e1789aaaed9e80493a
parent589e8ae2a056958b271765907c4a447117c4d325
[Peripheral] Gpio callback return pin value from structure. (#2798)

Change implementation so interrupted callback reads pin value from
structure rather than invoking Read() method.

Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
internals/src/Tizen.Peripheral/Interop/Gpio.cs
internals/src/Tizen.Peripheral/Tizen.Peripheral/Gpio.cs