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
partial fix to gpio stuff (limit what can be exported)
[matches/MCTX3420.git]
/
server
/
pin_test.c
diff --git
a/server/pin_test.c
b/server/pin_test.c
index
3ccf458
..
ca857ec
100644
(file)
--- a/
server/pin_test.c
+++ b/
server/pin_test.c
@@
-12,12
+12,12
@@
*/
void Pin_Init()
{
-
/* for (int i = 0; i < GPIO_NUM_PINS
; ++i)
+
for (int i = 0; i < 128
; ++i)
GPIO_Export(i);
for (int i = 0; i < ADC_NUM_PINS; ++i)
ADC_Export();
-*/
+
for (int i = 0; i < PWM_NUM_PINS; ++i)
PWM_Export(i);
}
UCC
git Repository :: git.ucc.asn.au