Mercurial > flash_v2
comparison packages/hal/mips/jmr3904/current/src/plf_stub.c @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | bf00f99aec69 |
| children | e0c0827131d1 |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 110 } | 110 } |
| 111 | 111 |
| 112 // Read one character from the current serial port. | 112 // Read one character from the current serial port. |
| 113 int hal_jmr_get_char( void ) | 113 int hal_jmr_get_char( void ) |
| 114 { | 114 { |
| 115 #ifdef CYG_HAL_MIPS_SIM | 115 #ifdef CYGPKG_HAL_MIPS_SIM |
| 116 // FIXME: ask nickg if this can go to /dev/null | 116 // FIXME: ask nickg if this can go to /dev/null |
| 117 static char input[] = "+$s#73"; | 117 static char input[] = "+$s#73"; |
| 118 static int i = 0; | 118 static int i = 0; |
| 119 return input[i++]; | 119 return input[i++]; |
| 120 #else | 120 #else |
