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
Fix brief string
[matches/MCTX3420.git]
/
server
/
pin_test.c
diff --git
a/server/pin_test.c
b/server/pin_test.c
index
77c0ef9
..
8640a60
100644
(file)
--- a/
server/pin_test.c
+++ b/
server/pin_test.c
@@
-30,6
+30,12
@@
void Pin_Close()
PWM_Unexport(i);
}
PWM_Unexport(i);
}
+/**
+ * Configures a pin (Export/Unexport business)
+ * @param type The pin type (GPIO/PWM/ADC)
+ * @param pin_export Whether to export/unexport/leave-as-is the pin
+ * @param num The pin number
+ */
bool Pin_Configure(const char *type, int pin_export, int num)
{
bool ret = true;
bool Pin_Configure(const char *type, int pin_export, int num)
{
bool ret = true;
UCC
git Repository :: git.ucc.asn.au