> > > > +uint8_t wfet_en; > > > > > > It should be made static probably. > > > This variable will be unused in some cases, needs #ifdef. > > > > > > > This variable is used in all cases. It's 1 when WFET is available, 0 when > > it's not. > > It would be 0 if you make it static yes.
No need to make it static to set it to 0, it will be placed in BSS section as is hence will always be initialized to 0. Static only limits its scope to this file, has nothing to do with initialization to 0.