💡 Misc. cleanup, comments

This commit is contained in:
Scott Lahteine
2022-01-12 09:47:22 -06:00
parent 89f1391306
commit 24d1d3eb5c
12 changed files with 30 additions and 33 deletions

View File

@@ -133,7 +133,7 @@ uint16_t W25QXXFlash::W25QXX_ReadID(void) {
return Temp;
}
void W25QXXFlash::SPI_FLASH_WriteEnable(void) {
void W25QXXFlash::SPI_FLASH_WriteEnable() {
// Select the FLASH: Chip Select low
SPI_FLASH_CS_L();
// Send "Write Enable" instruction
@@ -151,7 +151,7 @@ void W25QXXFlash::SPI_FLASH_WriteEnable(void) {
* Output : None
* Return : None
*******************************************************************************/
void W25QXXFlash::SPI_FLASH_WaitForWriteEnd(void) {
void W25QXXFlash::SPI_FLASH_WaitForWriteEnd() {
uint8_t FLASH_Status = 0;
// Select the FLASH: Chip Select low
@@ -216,7 +216,7 @@ void W25QXXFlash::SPI_FLASH_BlockErase(uint32_t BlockAddr) {
* Output : None
* Return : None
*******************************************************************************/
void W25QXXFlash::SPI_FLASH_BulkErase(void) {
void W25QXXFlash::SPI_FLASH_BulkErase() {
// Send write enable instruction
SPI_FLASH_WriteEnable();