This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5510: MSP430F5510 Code

Part Number: MSP430F5510

Why do I get an error :"expected a declaration"

For there lines?

#define RB_INITIALIZE(rb)
do
{
(rb).read_idx = 0;
(rb).write_idx = 0;
(rb).data_ct = 0;
}
while (0);

It seems to me a properly define routine.

erubin@tetracore.com

ephirubin0719@cox.net

**Attention** This is a public forum