Skip to content

Commit dd75d3f

Browse files
xr806 p1
1 parent 4dde6c8 commit dd75d3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/hal/xr809/hal_flashConfig_xr809.c

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ static void sysinfo_gen_mac_random(uint8_t mac_addr[6])
7474
mac_addr[0] &= 0xFC;
7575
}
7676
void HAL_Configuration_GenerateMACForThisModule(unsigned char *out) {
77+
#if PLATFORM_XR806
78+
// todo
79+
80+
#else
7781
int i;
7882
if (efpg_read(EFPG_FIELD_MAC, out) == 0) {
7983
return;
@@ -85,6 +89,7 @@ void HAL_Configuration_GenerateMACForThisModule(unsigned char *out) {
8589
return;
8690
}
8791
sysinfo_gen_mac_random(out);
92+
#endif
8893
}
8994

9095

0 commit comments

Comments
 (0)