May 21, 200422 yr from your code above://(float)autoland = 1 ; } else { rwert = 0 ; everything after the // is a commentif the // is not intentional, then remove it. If it is, then put on the next line what has to be compiled://(float)autoland = 1 ;} else { rwert = 0 ; Hope this helps!
May 21, 200422 yr Thanks for your help JeanLuc, though the // was a typo; my apologies. It should read: if (*land == 1 && app == 1 && key_loc == 1 && *ap1_master == 1 && *ap2_master == 1 ) { rwert = 1 ; (float)autoland = 1 ; } else { rwert = 0 ; (float)autoland = 0 ; } return rwert;}It refuses to compile and claims that an Lvalue is required. What I don't understand is that *ap1_master, *ap2_master and *land are the Lvars (correct?) and these have been used in various callbacks without any problems.
May 21, 200422 yr I've resolved the issue with the rc file. Though this code in the C file still baffles me. Commenting out the function results in no errors and a working gauge file. :-hmmmAppreciate any suggestions. [/font size]
May 23, 200422 yr (float)autoland = 1casting goes to the other side of the = sign maybe in your case?
Create an account or sign in to comment