This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redboot always disabled entry


> Perhaps { ALWAYS_ENABLED, false, } would do the trick?

Tried that. ALWAYS_ENABLED ignores the sense.

But i think i have it. Bit of a mind bender....

I need a dummy key, which is bool and set its value to false. This key
uses itself as its enable key with sense true. This should mean this
key is always disabled. [And if i've understood the code correctly, we
shouldn't get into a recursive loop]. 

I can then use this dummy key as my enable key for the string key i
want always disabled.

     Andrew



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]