File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ RC1_MAX 2000
24
24
RC1_MIN 1000
25
25
RC3_MAX 2000
26
26
RC3_MIN 1000
27
- RELAY_PIN 1
28
- RELAY_PIN2 2
27
+ RELAY1_PIN 1
28
+ RELAY2_PIN 2
29
29
SERVO1_MIN 1000
30
30
SERVO1_MAX 2000
31
31
SERVO3_MAX 2000
Original file line number Diff line number Diff line change @@ -456,10 +456,7 @@ RCMAP_ROLL,1
456
456
RCMAP_THROTTLE,3
457
457
RCMAP_YAW,4
458
458
RELAY_DEFAULT,0
459
- RELAY_PIN,13
460
- RELAY_PIN2,-1
461
- RELAY_PIN3,-1
462
- RELAY_PIN4,-1
459
+ RELAY1_PIN,13
463
460
RLL_RATE_D,0.000000
464
461
RLL_RATE_FF,0.255000
465
462
RLL_RATE_I,0.050000
Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ def ServoRelayEvents(self):
603
603
})
604
604
605
605
# add another servo:
606
- self .set_parameter ("RELAY_PIN6 " , 14 )
606
+ self .set_parameter ("RELAY6_PIN " , 14 )
607
607
self .assert_received_message_field_values ('RELAY_STATUS' , {
608
608
"present" : 35 ,
609
609
"on" : 0 ,
@@ -5369,7 +5369,7 @@ def test_scripting_auxfunc(self):
5369
5369
self .context_collect ("STATUSTEXT" )
5370
5370
self .set_parameters ({
5371
5371
"SCR_ENABLE" : 1 ,
5372
- "RELAY_PIN " : 1 ,
5372
+ "RELAY1_PIN " : 1 ,
5373
5373
})
5374
5374
self .install_example_script_context ("RCIN_test.lua" )
5375
5375
self .reboot_sitl ()
You can’t perform that action at this time.
0 commit comments