Change default serial port to /dev/serial0

This commit is contained in:
David Schmenk 2017-06-08 21:42:44 -07:00
parent dcb6c8e904
commit 07a5bd8c62
2 changed files with 8 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
a2pi (0.2.2-1) unstable; urgency=low
* Change default serial port to serial0
-- David Schmenk <dschmenk@mail.com> Thu, 08 Jun 2017 21:22:30 -0800
a2pi (0.2.2-0) unstable; urgency=low
* First systemd compatibility

View File

@ -17,7 +17,8 @@
#include <linux/input.h>
#include <linux/uinput.h>
char deftty[] = "/dev/ttyAMA0"; /* Default for Raspberry Pi */
//char deftty[] = "/dev/ttyAMA0"; /* Default for Raspberry Pi */
char deftty[] = "/dev/serial0"; /* Default for Raspberry Pi */
#if defined(SETSERCLK) && defined(__ARMEL__)
#include "gpclk.c"
#endif