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: [email protected]
             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 mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to