[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #47550] Linux GPIO broken
From: |
anonymous |
Subject: |
[avrdude-dev] [bug #47550] Linux GPIO broken |
Date: |
Sun, 27 Mar 2016 19:24:41 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?47550>
Summary: Linux GPIO broken
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Sun 27 Mar 2016 07:24:40 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Valentin Milea
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
snprintf() is being used in linuxgpio.c to convert unsigned GPIO numbers. A
recent commit has changed the format from "%d" to "%ud". "%u" is a valid
conversion specifier, while the trailing 'd' ends up being printed (e.g. '17d'
instead of '17').
This causes GPIO setup to fail:
Can't export GPIO 17, already exported/busy?: Invalid argument
Please replace "%ud" with "%u".
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?47550>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [bug #47550] Linux GPIO broken,
anonymous <=