[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #27505] serbb_posix does not cope with inverted pins
From: |
anonymous |
Subject: |
[avrdude-dev] [bug #27505] serbb_posix does not cope with inverted pins |
Date: |
Wed, 23 Sep 2009 09:16:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.8) Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8 |
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: address@hidden
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [bug #27505] serbb_posix does not cope with inverted pins,
anonymous <=