Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#5 into kossel branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrocholl committed Jun 12, 2014
1 parent ff2db28 commit 7b16a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ static void run_z_probe() {
int direction = -1;
// Consider the glass touched if the raw ADC value is reduced by 5% or more.
int analog_fsr_untouched = rawBedSample();
int threshold = analog_fsr_untouched * 95 / 100;
int threshold = analog_fsr_untouched * 95L / 100;
while (!touching_print_surface(threshold)) {
destination[Z_AXIS] += step * direction;
prepare_move_raw();
Expand Down

0 comments on commit 7b16a7b

Please sign in to comment.