Skip to content

Commit

Permalink
[component/mal/hw_flash_mal] make flash capability protected_member
Browse files Browse the repository at this point in the history
  • Loading branch information
versaloon committed Aug 21, 2023
1 parent 769b69f commit 9e240fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/component/mal/driver/hw_flash_mal/vsf_hw_flash_mal.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
#if defined(__VSF_HW_FLASH_MAL_CLASS_IMPLEMENT)
# undef __VSF_HW_FLASH_MAL_CLASS_IMPLEMENT
# define __VSF_CLASS_IMPLEMENT__
#elif defined(__VSF_HW_FLASH_MAL_CLASS_INHERIT__)
# undef __VSF_HW_FLASH_MAL_CLASS_INHERIT__
# define __VSF_CLASS_INHERIT__
#endif

#include "utilities/ooc_class.h"
Expand All @@ -46,8 +49,10 @@ vsf_class(vk_hw_flash_mal_t) {
implement(vk_mal_t)
vsf_hw_flash_t *flash;
)
private_member(
protected_member(
vsf_flash_capability_t cap;
)
private_member(
vsf_eda_t *cur;
)
};
Expand Down

0 comments on commit 9e240fb

Please sign in to comment.