fix 1-wire compiler warnings

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>