Merge pull request #527 from mc-requtech/musl-build-fix

gowin: Fix compilation on musl
This commit is contained in:
Gwenhael Goavec-Merou
2025-03-08 06:12:53 +01:00
committed by GitHub
+2
View File
@@ -252,6 +252,8 @@ bool Gowin::send_command(uint8_t cmd)
#define le32toh(x) (x)
#endif
#endif
#else
#include <endian.h>
#endif
uint32_t Gowin::readReg32(uint8_t cmd)