SerialFlash buf fix