X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fpin_test.c;h=ca857ecd4452af72a3b1ec42fb1d4e4c8b55a8b0;hb=1faf2ef76c719ed79e13b359591082854e739fa3;hp=3ccf458e80e9306952f23560dd4a2cb645c7524e;hpb=4d4dd5fe26e40418c9ca04dc31e661be9d22f7d7;p=matches%2FMCTX3420.git diff --git a/server/pin_test.c b/server/pin_test.c index 3ccf458..ca857ec 100644 --- 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); }