Tweaks
This commit is contained in:
parent
f7c6c90749
commit
b15f373cd9
|
@ -188,8 +188,8 @@ static int parse_tone(super_tone_rx_descriptor_t *desc, int tone_id, super_tone_
|
||||||
length*1000.0 + 0.5,
|
length*1000.0 + 0.5,
|
||||||
cycles);
|
cycles);
|
||||||
*tree = treep;
|
*tree = treep;
|
||||||
tree = &(treep->next);
|
tree = &treep->next;
|
||||||
parse_tone(desc, tone_id, &(treep->nest), doc, ns, cur);
|
parse_tone(desc, tone_id, &treep->nest, doc, ns, cur);
|
||||||
}
|
}
|
||||||
/*endif*/
|
/*endif*/
|
||||||
cur = cur->next;
|
cur = cur->next;
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -165,8 +166,8 @@ static int parse_tone(super_tone_tx_step_t **tree, xmlDocPtr doc, xmlNsPtr ns, x
|
||||||
length*1000.0 + 0.5,
|
length*1000.0 + 0.5,
|
||||||
cycles);
|
cycles);
|
||||||
*tree = treep;
|
*tree = treep;
|
||||||
tree = &(treep->next);
|
tree = &treep->next;
|
||||||
parse_tone(&(treep->nest), doc, ns, cur);
|
parse_tone(&treep->nest, doc, ns, cur);
|
||||||
}
|
}
|
||||||
/*endif*/
|
/*endif*/
|
||||||
cur = cur->next;
|
cur = cur->next;
|
||||||
|
|
Loading…
Reference in New Issue