What is this line and what does it do. The first part is a previous enumeration, the second part is the first occurrence in the module. static enum DEFROST_STATE PreviousState;
but that line of code is an enum definition!!
Here is more of the code. First this. enum DEFROST_STATE { NO_DEFROST_STATE, D_WAITING_FOR_CART, WAITING_FOR_DEFROST_INTERVAL, DEFROSTING, DEFROST_SUSPENDED }; Then inside a function this. static enum DEFROST_STATE PreviousState; Again, this is the fist occurrence of PreviousState in the code. How does the second relate to the first?