Hi all, I just attended the GDVC breakout session about optimal Monkey C. Thank you, Garmin for adding the option to type check! I think type checking can help me find code I'm not using and get rid of it. When I turn type checking on though, I get errors about undefined symbols for this code (simplified). Would you all mind taking a look and giving me tips on how I can get this to work?
//... if (id == :item_15) { // this menu option only pops up if routing is enabled for the device. // But the compiler doesn't know that, and when I run a device that // doesn't support routing, I get this error: // Undefined symbol ':request_directions_to_pin' detected. request_directions_to_pin(); } else if (id == :item_16) { do_other_things(); } //... (:routing) function request_directions_to_pin() { // do stuff }