[En-Nut-Discussion] HEARTBEAT_IDLE_LED

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Thu Sep 20 15:02:09 CEST 2012

>>>>> "Harald" == Harald Kipp <harald.kipp at egnite.de> writes:

    Harald> Hi, there seems to be something wrong with the recent
    Harald> implementation of HEARTBEAT_IDLE_LED_ON and
    Harald> HEARTBEAT_IDLE_LED_OFF in the trunk.

    Harald> As far as I understood the code, they are defined, if
    Harald> HEARTBEAT_IDLE_PIN and HEARTBEAT_IDLE_PORT are defined. However,
    Harald> they are used if __GNUC__ and __AVR_ENHANCED__ are defined. That
    Harald> means, it will fail to compile with GCC for all boards with
    Harald> enhanced ATmega CPUs. And that's exactly what it does right now.

A wrong place #endif. Argh.

Need to find some EMACS tool to help with such preprocessor orgies...

Compiled with a configuration with and without HEARTBEART definition with
CVS Head now for me...

Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list