static void do_abort() { if (state_getState() == STOP) { // acknowledge error const Pin stop = PIN_STOP; if (PIO_Get(&stop)) { state_reset(); OK(); } else NOK(); } else { state_reset(); OK(); } }
void hp9845_printer_device::device_reset() { state_reset(); m_cur_line = 0; m_inten = false; m_ibf = false; m_busy = false; update_flg(); m_sts_handler(true); }