RC_Channel unit test: fixed build, functionality still wrong

This commit is contained in:
Pat Hickey 2012-10-15 10:37:29 -07:00
parent 063cb41a11
commit 2936dbb9de
1 changed files with 11 additions and 10 deletions

View File

@ -42,15 +42,6 @@ APM_RC_APM2 APM_RC;
APM_RC_APM1 APM_RC;
#endif
RC_Channel rc_1;
RC_Channel rc_2;
RC_Channel rc_3;
RC_Channel rc_4;
RC_Channel rc_5;
RC_Channel rc_6;
RC_Channel rc_7;
RC_Channel rc_8;
#define CH_1 0
#define CH_2 1
#define CH_3 2
@ -60,6 +51,16 @@ RC_Channel rc_8;
#define CH_7 6
#define CH_8 7
RC_Channel rc_1(CH_1);
RC_Channel rc_2(CH_2);
RC_Channel rc_3(CH_3);
RC_Channel rc_4(CH_4);
RC_Channel rc_5(CH_5);
RC_Channel rc_6(CH_6);
RC_Channel rc_7(CH_7);
RC_Channel rc_8(CH_8);
void setup()
{
Serial.begin(115200);
@ -277,4 +278,4 @@ setup_radio()
}
}
return;
}
}