Changeset 27 for trunk/fw_g473rct/Core


Ignore:
Timestamp:
Sep 10, 2025, 8:48:05 AM (7 weeks ago)
Author:
f.jahn
Message:

Fixing project before CubeMX regeneration.

Location:
trunk/fw_g473rct/Core/Src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/fw_g473rct/Core/Src/i2c.c

    r20 r27  
    4040  /* USER CODE END I2C3_Init 1 */
    4141  hi2c3.Instance = I2C3;
    42   hi2c3.Init.Timing = 0x00E2122E;
     42  hi2c3.Init.Timing = 0x10911A50;
    4343  hi2c3.Init.OwnAddress1 = 0;
    4444  hi2c3.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
     
    6666    Error_Handler();
    6767  }
    68 
    69   /** I2C Fast mode Plus enable
    70   */
    71   HAL_I2CEx_EnableFastModePlus(I2C_FASTMODEPLUS_I2C3);
    7268  /* USER CODE BEGIN I2C3_Init 2 */
    7369
  • trunk/fw_g473rct/Core/Src/main.c

    r26 r27  
    494494
    495495/* USER CODE BEGIN 4 */
    496 void LoadBackupRegister()
     496void LoadBackupRegister(void)
    497497{
    498498    if (HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DR1) == 0xBEBE)
     
    768768  /* User can add his own implementation to report the HAL error return state */
    769769  __disable_irq();
     770  printf("error handler\r\n"); //Eventuell zeile entfernen, um besser den callstack zu sehen
     771
    770772  while (1)
    771773  {
     
    786788  /* User can add his own implementation to report the file name and line number,
    787789     ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
     790         printf("Wrong parameters value: file %s on line %d\r\n", file, line);
    788791  /* USER CODE END 6 */
    789792}
Note: See TracChangeset for help on using the changeset viewer.