1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00

resolved merge conflicts

This commit is contained in:
gstellenberg
2009-05-22 22:36:20 -05:00
11 changed files with 254 additions and 50 deletions

View File

@@ -0,0 +1,7 @@
PRGameName: My Great Pin
PRDrivers:
1: driver one
2: driver two
PRSwitches:
1: switch one
2: switch two

View File

@@ -2,8 +2,8 @@
# File: Makefile for application
#
CC=g++
LDFLAGS=-L../.. -L/usr/local/lib
LIBS=-lpinproc -lusb -lftdi
LDFLAGS=-L../.. -L/usr/local/lib -L../../../../yaml-cpp/build/bin
LIBS=-lpinproc -lusb -lftdi -lyaml-cpp
SRC=pinproctest.cpp

View File

@@ -306,6 +306,7 @@ int main(const char **argv, int argc)
return 1;
printf("Configuring P-ROC...\n");
PRLoadDefaultsFromYAML(proc, "../../examples/pinproctest/Example.yaml");
ConfigureDMD(proc);
ConfigureSwitches(proc); // Notify host for all debounced switch events.