fix return code from rtas_get_sensor_state
Signed-off-by: Mike Day <ncmike@ncultra.org>