Skip to content

Commit 7b0b8b0

Browse files
committed
Fixed expo not restoring correctly
1 parent adcf9e4 commit 7b0b8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/FFBoard/Src/Axis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ void Axis::restoreFlash(){
239239

240240
uint16_t pp1;
241241
if(Flash_Read(flashAddrs.postprocess1, &pp1)){
242-
setExpo(pp1 & 0xff);
242+
setExpo((int8_t)(pp1 & 0xff));
243243
}
244244

245245
}

0 commit comments

Comments
 (0)