Added clock_delay() between characters to avoid dropping them

This commit is contained in:
adamdunkels 2007-03-25 21:52:41 +00:00
parent 6a8d8e3abf
commit d2683224e9

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)$Id: slip_uart1.c,v 1.4 2007/02/02 13:26:48 bg- Exp $ * @(#)$Id: slip_uart1.c,v 1.5 2007/03/25 21:52:41 adamdunkels Exp $
*/ */
/* /*
@ -79,6 +79,8 @@ putchar(int c)
debug_frame = 0; debug_frame = 0;
} }
clock_delay(100);
return c; return c;
} }