Fixed compilation issue with KL46Z. Tested on the board and working fine.

Fork of tsi_sensor by Martin Kojtal