presto_t -> struct presto

Remove useless typedef.
This commit is contained in:
Zachary T Welch 2009-11-13 05:23:12 -08:00
parent a3f1c87eb7
commit ffc77b61dd
1 changed files with 4 additions and 6 deletions

View File

@ -86,8 +86,7 @@ static struct bitq_interface presto_bitq =
#define BUFFER_SIZE (64*62) #define BUFFER_SIZE (64*62)
typedef struct presto_s struct presto {
{
#if BUILD_PRESTO_FTD2XX == 1 #if BUILD_PRESTO_FTD2XX == 1
FT_HANDLE handle; FT_HANDLE handle;
FT_STATUS status; FT_STATUS status;
@ -117,11 +116,10 @@ typedef struct presto_s
int jtag_tdi_count; int jtag_tdi_count;
int jtag_speed; int jtag_speed;
};
} presto_t; static struct presto presto_state;
static struct presto *presto = &presto_state;
static presto_t presto_state;
static presto_t *presto = &presto_state;
static uint8_t presto_init_seq[] = static uint8_t presto_init_seq[] =
{ {