I used mk10dx256 mcu,"Vbat_powr_on" macro not found?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I used mk10dx256 mcu,"Vbat_powr_on" macro not found?

506 Views
jikehe
Contributor II

Content of ProcessorExpert.c:

LDD_TDeviceData *MyRTCPtr;  
void main(void) 
{
      if (Vbat_powr_on == TRUE)
      { 
          MyRTCPtr = RTC_Init((LDD_TUserData *)NULL, FALSE);       
     }
      else
      {
           MyRTCPtr = RTC_Init((LDD_TUserData *)NULL, TRUE);      
     }
 } 
Labels (1)
0 Kudos
Reply
1 Reply

396 Views
perlam_i_au
Senior Contributor I

0 Kudos
Reply