Add function to remove sensor callback.
authorAndrey Nechypurenko <andreynech@gmail.com>
Sat, 11 Jun 2011 17:30:21 +0000 (19:30 +0200)
committerAndrey Nechypurenko <andreynech@gmail.com>
Sat, 11 Jun 2011 17:30:21 +0000 (19:30 +0200)
commitf8c914e739c0d6d1aaa98de26762c810c0c56c1f
treee3614f75cf23b96fc1b0a35720cf42e7d487c5fe
parent6027f10863063d4c2e4587a9901c4bffe02457fc
Add function to remove sensor callback.

Previously, I was assuming that setting callback to NULL will do
the job. However, for some reasons I am getting null-pointer
exception if passing 0 as a parameter. That is why, the new
function is introduced to cleanup the receiver.
vehicle.ice