Explorar el Código

Fix struct packing attribute in spi_wifi_rw007.h

rcitach hace 2 meses
padre
commit
cf3460e40a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      inc/spi_wifi_rw007.h

+ 1 - 1
inc/spi_wifi_rw007.h

@@ -231,7 +231,7 @@ struct rw007_resp
         struct rw007_ap_info_value ap_info_value;
         char string_value[UINT16_MAX];
     } value;
-};
+} __attribute__((packed));
 
 /* tools */
 #define node_entry(node, type, member) ((type *)((char *)(node) - (unsigned long)(&((type *)0)->member)))