refactoring

This commit is contained in:
Bernd Herzog
2023-04-01 18:36:57 +02:00
parent bb90fdc5fc
commit 893df7272f
15 changed files with 40 additions and 1062 deletions

View File

@@ -5,8 +5,8 @@
#include <common/usb.h>
#include <common/usb_request.h>
#include <common/usb_standard_request.h>
#include "usb_device.h"
#include "usb_endpoint.h"
#include <hackrf_usb/usb_device.h>
#include <hackrf_usb/usb_endpoint.h>
#include <libopencm3/lpc43xx/m4/nvic.h>
#include <libopencm3/lpc43xx/cgu.h>
#include "platform_detect.h"
@@ -101,14 +101,6 @@ typedef struct {
uint8_t blocklen[4];
} scsi_read_format_capacities_response_t;
typedef struct {
uint8_t header[4];
uint8_t blocknum[4];
uint8_t blocklen[4];
uint8_t blocknum2[4];
uint8_t blocklen2[4];
} scsi_read_format_capacities_double_response_t;
typedef struct {
uint32_t last_block_addr;
uint32_t block_size;