mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-24 16:16:55 +01:00
16 lines
310 B
C
16 lines
310 B
C
// stubs so I can compile HTTP server on Windows for testing and faster development
|
|
#include "new_common.h"
|
|
|
|
#if WINDOWS
|
|
|
|
|
|
int bekken_hal_flash_read(const uint32_t addr, uint8_t *dst, const uint32_t size) {
|
|
int i;
|
|
memset(dst,0,size);
|
|
for(i = 0; i < size; i++){
|
|
dst[i] = rand()%128;
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
#endif |