klass sez,

> struct
> {
>   uint8_t *tx_head;
>   uint8_t * volatile tx_tail;
>   uint8_t tx_buffer[DBG_BUF_SZ];

>   /* blah blah */
>   uint8_t dbg_timer;
> } dbg_serial_port;

> Declare the pointer volatile, not the value it is pointing to

Thanks mucho grande.

Mr Foo


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to