avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #35186] inverting pins with "~" doesn't work for pin


From: Joerg Wunsch
Subject: [avrdude-dev] [bug #35186] inverting pins with "~" doesn't work for pin lists (i.e. vcc)
Date: Sun, 22 Jan 2012 18:58:23 +0000
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.24) Gecko/20111111 Firefox/3.6.24

Follow-up Comment #2, bug #35186 (project avrdude):

WORD_BIT is not defined by the C standard, so I wouldn't want
to use it.

Since, as you mention, AVRDUDE assumes an `int' is at least
32 bits wide, I think it would even be safe to say

#define PIN_MASK    (1u << 31)

Alternatively, use the UINT_MAX-based definitions.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?35186>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]