Skip to content

Commit

Permalink
refactor: wrap function definition with #ifdef
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiaoyu <[email protected]>
  • Loading branch information
xyyy1420 committed Jan 14, 2025
1 parent 0bb9160 commit 7418a2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/device/flash.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
#ifndef __DEVICE_FLASH_H__
#define __DEVICE_FLASH_H__

#ifdef CONFIG_HAS_FLASH
uint8_t* get_flash_base();
uint64_t get_flash_size();
#endif

#endif

0 comments on commit 7418a2e

Please sign in to comment.