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

pinproctest: code cleanup

Includes check to limit accelerometer-related code to P3-ROC since
it fails on the P-ROC (which doesn't have an accelerometer).
This commit is contained in:
Tom Collins
2020-06-25 23:28:13 -07:00
committed by Gerry Stellenberg
parent b2d9b4e000
commit 954084d348
3 changed files with 64 additions and 57 deletions

View File

@@ -222,8 +222,6 @@ void ConfigureDriverGlobals(PRHandle proc, bool driverPolarity)
void ConfigureDrivers(PRHandle proc)
{
int i;
// First set up a bunch of constants to use later:
// The driverPolarity determines when the drivers go high or low when