| 10 | static u32 __AXProfileInitialized; |
| 11 | |
| 12 | AXPROFILE* __AXGetCurrentProfile(void) |
| 13 | { |
| 14 | AXPROFILE* profile; |
| 15 | |
| 16 | if (__AXProfileInitialized != 0U) |
| 17 | { |
| 18 | profile = &__AXProfile[__AXCurrentProfile]; |
| 19 | __AXCurrentProfile += 1; |
| 20 | __AXCurrentProfile %= __AXMaxProfiles; |
| 21 | return profile; |
| 22 | } |
| 23 | return 0; |
| 24 | } |