Hi
I do not see the declaration of "label"
Did you try this?
const char *label_what(m2_rom_void_p element)
{
switch (array[u8dev][13]) {
case 0: return "Bathroom";
case 1: return "Kitchen";
case 2: return "Garage";
}
return "";
}
M2_LABELFN(el_labefn2, "x10y3", label_what);
Oliver