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

Added delay param to aux_output commands

This commit is contained in:
Gerry Stellenberg
2010-12-04 22:28:16 -06:00
parent 06e651026a
commit 3ffb3b6f53
6 changed files with 21 additions and 14 deletions

View File

@@ -32,6 +32,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
PRDevice::PRDevice(PRMachineType machineType) : machineType(machineType)
{
@@ -531,6 +532,7 @@ PRResult PRDevice::DriverAuxSendCommands(PRDriverAuxCommand * commands, uint8_t
for (k=0; k<numCommands; k++) {
convertedCommand = CreateDriverAuxCommand(commands[k]);
commandBuffer[k+1] = convertedCommand;
printf("\nAux command: %d is %x", k,convertedCommand);
}
return PrepareWriteData(commandBuffer, numCommands+1);