Revision f7d2c786 Target/Modules/DiWheelDrive_1-1/Boot/main.c

View differences:

Target/Modules/DiWheelDrive_1-1/Boot/main.c
78 78

  
79 79
const blCallbackTable_t cbtable __attribute__ ((section ("_callback_table"))) = {
80 80
  .magicNumber = BL_MAGIC_NUMBER,
81
  .vBootloader = {BL_VERSION_ID_AMiRoBLT_Release, BL_VERSION_MAJOR, BL_VERSION_MINOR, 2},
81
  .vBootloader = {BL_VERSION_ID_AMiRoBLT_Beta, BL_VERSION_MAJOR, BL_VERSION_MINOR, 0},
82 82
  .vSSSP = {BL_VERSION_ID_SSSP, BL_SSSP_VERSION_MAJOR, BL_SSSP_VERSION_MINOR, 0},
83 83
  .vCompiler = {BL_VERSION_ID_GCC, __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__},  // currently only GCC is supported
84 84
  .cbShutdownHibernate = blCallbackShutdownHibernate,
......
95 95
  .cb11 = (void*)0
96 96
};
97 97

  
98

  
99 98
/************************************************************************************//**
100 99
** \brief     This is the entry point for the bootloader application and is called
101 100
**            by the reset interrupt vector after the C-startup routines executed.
......
174 173
    status = handleColdReset();
175 174
  }
176 175

  
177
  /* if something wehnt wrong, signal this failure */
176
  /* if something went wrong, signal this failure */
178 177
  if (status != SUCCESS) {
179 178
    blinkSOSinf();
180 179
  }
......
392 391
  GPIO_EXTILineConfig(GPIO_PortSourceGPIOB, GPIO_PinSource15); // ACCEL_INT_N
393 392

  
394 393
  return;
395
}
394
} /*** end of initExti ***/
396 395

  
397 396
/*
398 397
 * Signals, which type of low-power mode the system shall enter after the shutdown sequence.
......
483 482
} /*** end of shutdownToTransportation ***/
484 483

  
485 484
/*
486
 * Final shutdown of the system to enter deepseleep mode.
485
 * Final shutdown of the system to enter deepsleep mode.
487 486
 */
488 487
void shutdownToDeepsleep(const blt_bool exec_disambiguation) {
489 488
  /* configure some criticpal GPIOs as input

Also available in: Unified diff