Skip to content

Commit

Permalink
fix: 修复SPI速度设置不正确的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
PoisonNF committed Aug 28, 2024
1 parent 8cb0534 commit 3ead156
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 25 deletions.
3 changes: 2 additions & 1 deletion Doc/工程维护记录.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
*
/***************************************************************************************************************************************************************/
* �汾�� ���� ���� ˵��
* 2024-07-18 ����� �����޸�
* 3.4 2024-08-28 ����� �����޸�
*
* �޸ļ�¼ :
* 1.�޸�Ĭ�϶ѿռ��С����0x200���ĵ�0x800����ֹ�മ����Ĭ�����ó�ʼ��ʧ�ܡ�
* 2.�޸�SPI�ٶ����ò���ȷ�����⡣
*
/***************************************************************************************************************************************************************/
*
Expand Down
3 changes: 3 additions & 0 deletions Driver/Src/drv_hal_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* 文件历史:
* 版本号 日期 作者 说明
* 3.4 2024-08-28 鲍程璐 修复SPI速度设置不正确的问题
* 3.2 2024-04-18 鲍程璐 Drv_SPI_Transmit函数增加返回值
* 3.0 2024-01-26 鲍程璐 适配STM32F4系列
Expand Down Expand Up @@ -122,6 +124,7 @@ void Drv_SPI_SpeedConfig(tagSPI_T *_tSPI, uint8_t _ucSpeed)
Drv_HAL_Error(__FILE__, __LINE__);
break;
}
Drv_SPI_Init(_tSPI);
}

/**
Expand Down
Loading

0 comments on commit 3ead156

Please sign in to comment.