mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-13 02:38:39 +01:00
Merge pull request #1672 from martinling/nonstring
Add `nonstring` attribute to firmware_info magic field
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
struct firmware_info_t {
|
||||
char magic[8];
|
||||
__attribute__((nonstring)) char magic[8];
|
||||
uint16_t struct_version;
|
||||
uint16_t dfu_mode;
|
||||
uint32_t supported_platform;
|
||||
|
||||
Reference in New Issue
Block a user