static int serpar_reset(void) { #ifdef COMPILING_ON_WINDOWS FlushParallel(); FlushSerial(); #else Unix_ResetParallel(); Unix_ResetSerial(); #endif return serpar_set_params(&serpar_defaults); }
static int serial_reset( void ) { #ifdef DEBUG printf( "serial_reset\n" ); #endif #ifdef COMPILING_ON_WINDOWS FlushSerial(); #else Unix_ResetSerial(); #endif return serial_set_params( &serial_defaults ); }