File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
pic24f-lcd-usb-curiosity-lcd-power.X/application Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ const struct OPERATIONAL_MODE battery_operational_mode = {
3939
4040static void BatteryModeTasks_Initialize (void )
4141{
42+ PIN_MANAGER_Initialize ();
43+ SPI1_Initialize ();
4244 TC77_Shutdown ();
4345}
4446
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ static void USBPowerModeTasks(void);
5252//Global variables
5353//------------------------------------------------------------------------------
5454static volatile bool update_printout = true;
55- static struct tm date_time ;
5655
5756const struct OPERATIONAL_MODE usb_operational_mode = {
5857 & USBPowerModeTask_Initialize ,
@@ -64,9 +63,7 @@ const struct OPERATIONAL_MODE usb_operational_mode = {
6463//Functions
6564//------------------------------------------------------------------------------
6665static void USBPowerModeTask_Initialize (void )
67- {
68- SYSTEM_Initialize ();
69-
66+ {
7067 LCD_Initialize ();
7168 LCD_SetPowerMode (LCD_POWER_MODE_HIGH );
7269 LCD_DEMO_SetBatteryStatus (BATTERY_STATUS_UNKNOWN );
You can’t perform that action at this time.
0 commit comments