Skip to content

Commit 9de2640

Browse files
committed
Fixed double inclusion protection in header
1 parent ad4bb5f commit 9de2640

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

firmware/programmer/flash.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
* it under the terms of the GNU General Public License version 3.
44
*/
55

6+
#ifndef _FLASH_H_
7+
#define _FLASH_H_
8+
69
int flash_page_erase(uint32_t page_addr);
710
int flash_write(uint32_t addr, uint8_t *data, uint32_t data_len);
811
int flash_read(uint32_t addr, uint8_t *data, uint32_t data_len);
12+
13+
#endif

0 commit comments

Comments
 (0)