+static void send_fw_version(void)
+{
+ /* Populate the buffer */
+ struct version_info *const vi = (struct version_info*)EP0BUF;
+ vi->major = FX2LAFW_VERSION_MAJOR;
+ vi->minor = FX2LAFW_VERSION_MINOR;
+
+ /* Send the message */
+ EP0BCH = 0;
+ EP0BCL = sizeof(struct version_info);
+}
+