git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'users'
[matches/MCTX3420.git]
/
server
/
pin_test.c
diff --git
a/server/pin_test.c
b/server/pin_test.c
index
b22cc13
..
77c0ef9
100644
(file)
--- a/
server/pin_test.c
+++ b/
server/pin_test.c
@@
-1,6
+1,6
@@
/**
* @file pin_test.c
/**
* @file pin_test.c
- * @
purpose
Implementations to allow direct control over pins through FastCGI
+ * @
brief
Implementations to allow direct control over pins through FastCGI
*/
#include "pin_test.h"
*/
#include "pin_test.h"
@@
-27,7
+27,7
@@
void Pin_Close()
ADC_Unexport(i);
for (int i = 0; i < PWM_NUM_PINS; ++i)
ADC_Unexport(i);
for (int i = 0; i < PWM_NUM_PINS; ++i)
- PWM_Unexport(
g_pin_safe_pwm[i]
);
+ PWM_Unexport(
i
);
}
bool Pin_Configure(const char *type, int pin_export, int num)
}
bool Pin_Configure(const char *type, int pin_export, int num)
@@
-212,4
+212,4
@@
void Pin_Handler(FCGIContext *context, char * params)
FCGI_RejectJSON(context, "Invalid pin type");
}
FCGI_RejectJSON(context, "Invalid pin type");
}
-}
\ No newline at end of file
+}
UCC
git Repository :: git.ucc.asn.au