Fixed bug in BrickPiUpdateValues: Temp_ENC_DIR not defined

Fixed bug in BrickPiUpdateValues: Temp_ENC_DIR not defined when changing motor encoder with positive offset. 
Replaced tabs with spaces.