Mercurial > nand-ecoscentric
diff packages/hal/common/current/src/thread-packets.c @ 3236:f415c0531921
NUMREGS replaced by HAL_STUB_REGISTERS_SIZE in thread-packets.c
| author | vae |
|---|---|
| date | Wed, 25 Apr 2012 19:47:39 +0000 |
| parents | 74dbf4c3f2e1 |
| children |
line wrap: on
line diff
--- a/packages/hal/common/current/src/thread-packets.c +++ b/packages/hal/common/current/src/thread-packets.c @@ -134,7 +134,7 @@ static void stub_copy_registers( ) { target_register_t * limit ; - limit = dest + NUMREGS ; + limit = dest + HAL_STUB_REGISTERS_SIZE ; while (dest < limit) *dest++ = *src++ ; } @@ -480,9 +480,10 @@ void stub_pkt_currthread( int bufmax) { threadref thread ; +#if PKT_DEBUG char * base_out ; base_out = outbuf ; - +#endif if (dbg_currthread(&thread)) { *outbuf++ = 'Q' ;
