|
|
|
|
@ -155,7 +155,7 @@ Block Blocks::GetBlockFromJSON(JSONParse *j) {
|
|
|
|
|
s = ""; if (j->GetValue("sensor_shortstop_1", &s)) strncpy (bl.s_shortstop[1], s.c_str(), REFERENCENAME_LEN);
|
|
|
|
|
s = ""; if (j->GetValue("secondblock", &s)) strncpy (bl.secondblock, s.c_str(), REFERENCENAME_LEN);
|
|
|
|
|
|
|
|
|
|
printf ("%s:%d block: %s flags: %d\n", __FILE__, __LINE__, bl.name, bl.flags);
|
|
|
|
|
// printf ("%s:%d block: %s flags: %d\n", __FILE__, __LINE__, bl.name, bl.flags);
|
|
|
|
|
return bl;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|