A FIXME: The number of nodes is fixed to 4!
Better make this flexible, but how to detect this number safely?
This commit is contained in:
parent
4005922627
commit
7612cb3588
|
|
@ -2477,7 +2477,7 @@ static void rem_unused_mos_models(struct card* deck) {
|
||||||
}
|
}
|
||||||
/* what is the device's model name? */
|
/* what is the device's model name? */
|
||||||
char* mname = nexttok(curr_line);
|
char* mname = nexttok(curr_line);
|
||||||
int nonodes = 4;
|
int nonodes = 4; /* FIXME: this is a hack! How to really detect the number of nodes? */
|
||||||
int jj;
|
int jj;
|
||||||
for (jj = 0; jj < nonodes; jj++) {
|
for (jj = 0; jj < nonodes; jj++) {
|
||||||
mname = nexttok(mname);
|
mname = nexttok(mname);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue