fix sim to use default channel for downlink

This commit is contained in:
Felix Ruess
2009-08-26 12:42:38 +00:00
parent 05945bc90c
commit 56afec7eb2
+1 -1
View File
@@ -34,7 +34,7 @@ static void on_DL_SETTING(IvyClientPtr app __attribute__ ((unused)),
uint8_t index = atoi(argv[2]);
float value = atof(argv[3]);
DlSetting(index, value);
DOWNLINK_SEND_DL_VALUE(&index, &value);
DOWNLINK_SEND_DL_VALUE(DOWNLINK_TRANSPORT, &index, &value);
printf("setting %d %f\n", index, value);
}