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

Reworked PRReset() and added kPRResetFlag* #defs.

This commit is contained in:
Adam Preble
2009-05-27 21:29:18 -04:00
parent 1c70e5235f
commit b3b1298d23
5 changed files with 19 additions and 13 deletions

View File

@@ -417,7 +417,7 @@ int main(int argc, const char **argv)
// Clean up P-ROC.
printf("Disabling P-ROC drivers and switch rules...\n");
PRReset(proc,true); // Reset the device structs and write them into the device.
PRReset(proc, kPRResetFlagUpdateDevice); // Reset the device structs and write them into the device.
// Destroy the P-ROC device handle:
PRDelete(proc);