[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] linuxgpio: typo in snprintf() format string
From: |
4ernov |
Subject: |
[avrdude-dev] linuxgpio: typo in snprintf() format string |
Date: |
Mon, 10 Oct 2016 01:12:54 +0300 |
Hello,
I've tried to use recent 6.3 version with linuxgpio programmer enabled
and have failed with it with messages like "Can't export GPIO 31,
already exported/busy?: Device or resource busy". But it have turned
out, that the problem is with the typo in format string used in
"snprintf()" calls to create gpio pin filename: it specifies "%ud" for
unsigned integer value instead of just "%u", that's why we have likes
"31d" names, which "/sys/class/gpio/export" refuses to export.
The patch is applied. Hope it's helpful.
Best regards,
Alexey Chernov
linuxgpio.patch
Description: Text Data
- [avrdude-dev] linuxgpio: typo in snprintf() format string,
4ernov <=