Mercurial > ecos
comparison packages/hal/common/current/src/hal_if.c @ 2193:72aa9ecbdad9
* src/hal_if.c (cyg_hal_diag_mangler_gdb_flush): Fix compiler
warning about signed/unsigned.
| author | asl |
|---|---|
| date | Tue, 09 May 2006 15:28:56 +0000 |
| parents | 7ddd5ba45ee5 |
| children | b1a65d90ce72 |
comparison
equal
deleted
inserted
replaced
| 2192:93a41cbd95d0 | 2193:72aa9ecbdad9 |
|---|---|
| 522 #endif | 522 #endif |
| 523 | 523 |
| 524 while(1) | 524 while(1) |
| 525 { | 525 { |
| 526 static const char hex[] = "0123456789ABCDEF"; | 526 static const char hex[] = "0123456789ABCDEF"; |
| 527 cyg_uint8 csum = 0, c1; | 527 cyg_uint8 csum = 0; |
| 528 char c1; | |
| 528 int i; | 529 int i; |
| 529 | 530 |
| 530 CYGACC_COMM_IF_PUTC(*__chan, '$'); | 531 CYGACC_COMM_IF_PUTC(*__chan, '$'); |
| 531 CYGACC_COMM_IF_PUTC(*__chan, 'O'); | 532 CYGACC_COMM_IF_PUTC(*__chan, 'O'); |
| 532 csum += 'O'; | 533 csum += 'O'; |
