修改 diff 如下:
- Paul@DESKTOP-PUB20JQ MINGW64 /f/Workspaces/stm32/A1 (master)
- $ git diff
- diff --git a/MAZ_Applications/system_stm32f1xx.c b/MAZ_Applications/system_stm32f1xx.c
- index 7cacb32..40f4488 100644
- --- a/MAZ_Applications/system_stm32f1xx.c
- +++ b/MAZ_Applications/system_stm32f1xx.c
- @@ -120,7 +120,7 @@
- is no need to call the 2 first functions listed above, since SystemCoreClock
- variable is updated automatically.
- */
- -uint32_t SystemCoreClock = 16000000;
- +uint32_t SystemCoreClock = 8000000;
- const uint8_t AHBPrescTable[16U] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
- const uint8_t APBPrescTable[8U] = {0, 0, 0, 0, 1, 2, 3, 4};
|