examples/tty/serial.c
changeset 1788 af61953c3ba4
parent 1787 439f186185be
child 1975 8e173dddd183
equal deleted inserted replaced
1787:439f186185be 1788:af61953c3ba4
   697     }
   697     }
   698 
   698 
   699     return 0;
   699     return 0;
   700 
   700 
   701 out_ports:
   701 out_ports:
   702     for (i--; i <= 0; i--) {
   702     for (i--; i >= 0; i--) {
   703         el60xx_port_clear(el6002->port + i);
   703         el60xx_port_clear(el6002->port + i);
   704     }
   704     }
   705 out_return:
   705 out_return:
   706     return ret;
   706     return ret;
   707 }
   707 }