48,7 → 48,7 |
printf ( "- Trailer 2 Press state - %s\n", state.Trailer2 ? "Pushed" : "Unpushed" ); |
|
if ( state.Voltage == 0.0f ) |
printf ( "- Input Voltage - Low\n", state.Voltage ); |
printf ( "- Input Voltage - Low\n" ); |
else |
printf ( "- Input Voltage - %.1fV\n", state.Voltage ); |
} |
66,7 → 66,7 |
printf ( "\nSpeed (in tacts):" ); |
scanf ( "%f", speed ); |
printf ( "\nSteps Divisor:" ); |
scanf ( "%d", &( sp -> SDivisor ) ); |
scanf ( "%c", &( sp -> SDivisor ) ); |
getchar (); |
} |
|
432,8 → 432,8 |
|
system ( "clear" ); |
print_state ( state ); |
printf ( "\nPress any key to continue" ); |
getchar (); |
printf ( "\nPress any key to continue" ); |
getchar (); |
system ( "clear" ); |
|
return FALSE; |
633,8 → 633,8 |
|
system ( "clear" ); |
print_enc_state ( enc_state, params ); |
printf ( "\nPress any key to continue" ); |
getchar (); |
printf ( "\nPress any key to continue" ); |
getchar (); |
system ( "clear" ); |
|
return FALSE; |