core: fix requesting events
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 30 Jan 2017 11:02:07 +0000 (12:02 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 30 Jan 2017 11:04:40 +0000 (12:04 +0100)
commite0b6e5460af2e675d6905a7f1a1eccc2f4fbc624
treeb977593cd84f6380429ebf8b71e80c50097fbd98
parentf3f6982d1f5fcdf5f155609ce0f769fc3f2ca7e2
core: fix requesting events

There was a bitwise OR and assignment operator in an 'if else' instead
of an equality operator when requesting 'both edges' events.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/lib/core.c