Changed function types to be enum, instead of uint8_t.

Changed one sanity check to exclude coptercontrol from checking if a module is running.