mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-02 13:27:32 +08:00
fix sim to use default channel for downlink
This commit is contained in:
@@ -34,7 +34,7 @@ static void on_DL_SETTING(IvyClientPtr app __attribute__ ((unused)),
|
|||||||
uint8_t index = atoi(argv[2]);
|
uint8_t index = atoi(argv[2]);
|
||||||
float value = atof(argv[3]);
|
float value = atof(argv[3]);
|
||||||
DlSetting(index, value);
|
DlSetting(index, value);
|
||||||
DOWNLINK_SEND_DL_VALUE(&index, &value);
|
DOWNLINK_SEND_DL_VALUE(DOWNLINK_TRANSPORT, &index, &value);
|
||||||
printf("setting %d %f\n", index, value);
|
printf("setting %d %f\n", index, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user