URL:
  <http://savannah.nongnu.org/bugs/?27505>

                 Summary: serbb_posix does not cope with inverted pins
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Wed 23 Sep 2009 09:16:03 UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Jon Wise
        Originator Email: [email protected]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Function serbb_highpulse pin() returns an error if the pin has the invert bit
set. The code below fixes the immediate error but there may be other aspects
of the code with similar problems.

static int serbb_highpulsepin(PROGRAMMER * pgm, int pin)
{
  if ( ( (pin & PIN_MASK) < 1 ) || ( (pin & PIN_MASK) > DB9PINS ) )
    return -1;
 ...
 ...






    _______________________________________________________

Reply to this item at:

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

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



_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to