Close

Update on problem with structured macros

A project log for Hello World from ATxmega128A1

A couple of 'Hello World' examples running on the ATxmega128A1-Xplained development board from Atmel

jacques-pelletierJacques Pelletier 03/27/2021 at 20:330 Comments

The problems was a code 18: 18 inches in front of the monitor!

The expansion works fine as expected.

I was using this structure:

        _do

                 ;do stuff

        _while (cond)

The correct macro in this case would be:

        _do

                 ;do stuff

        _do_while (cond)

or

        _while (cond)

                 ;do stuff

        _while_end

Discussions