[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Re: issues with struct and volatile
From: |
Pink Boy |
Subject: |
Re: [avr-gcc-list] Re: issues with struct and volatile |
Date: |
Fri, 24 Jul 2009 20:24:23 -0700 (PDT) |
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] Re: [avr-chat] Mega644 bit test problem, Robert von Knobloch, 2009/07/20
- [avr-gcc-list] issues with struct and volatile, Pink Boy, 2009/07/23
- Re: [avr-gcc-list] issues with struct and volatile, John Myers, 2009/07/24
- Re: [avr-gcc-list] issues with struct and volatile, klaas, 2009/07/24
- Re: [avr-gcc-list] Re: issues with struct and volatile, Bob Paddock, 2009/07/24
- Re: [avr-gcc-list] Re: issues with struct and volatile, Stefan Ernst, 2009/07/24
- [avr-gcc-list] Re: issues with struct and volatile, David Brown, 2009/07/24
- [avr-gcc-list] Re: issues with struct and volatile, David Brown, 2009/07/24