forked from Minki/linux
staging: ft1000: STATUS defines completely removed
The ft1000 driver ignores the normal Linux error codes, using its own macros, STATUS, STATUS_SUCCESS, and STATUS_FAILURE, instead. Unsigned variables (u16 and u32) are sometimes used to hold them. This patch converts all occurences of these macros to 0, 0 and -1, respectively. It also changes the last remaining status variables (mostly called status and ret) to ints, and removes the declarations of the macros. This patch does not correct the whitespace issues in the lines where the changes were made. Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com> Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
da3ab48bb8
commit
46d981557b
@ -48,7 +48,7 @@ static int ft1000_control(struct ft1000_usb *ft1000dev, unsigned int pipe,
|
|||||||
u8 request, u8 requesttype, u16 value, u16 index,
|
u8 request, u8 requesttype, u16 value, u16 index,
|
||||||
void *data, u16 size, int timeout)
|
void *data, u16 size, int timeout)
|
||||||
{
|
{
|
||||||
u16 ret;
|
int ret;
|
||||||
|
|
||||||
if ((ft1000dev == NULL) || (ft1000dev->dev == NULL)) {
|
if ((ft1000dev == NULL) || (ft1000dev->dev == NULL)) {
|
||||||
DEBUG("ft1000dev or ft1000dev->dev == NULL, failure\n");
|
DEBUG("ft1000dev or ft1000dev->dev == NULL, failure\n");
|
||||||
@ -68,7 +68,7 @@ static int ft1000_control(struct ft1000_usb *ft1000dev, unsigned int pipe,
|
|||||||
int ft1000_read_register(struct ft1000_usb *ft1000dev, u16* Data,
|
int ft1000_read_register(struct ft1000_usb *ft1000dev, u16* Data,
|
||||||
u16 nRegIndx)
|
u16 nRegIndx)
|
||||||
{
|
{
|
||||||
int ret = STATUS_SUCCESS;
|
int ret = 0;
|
||||||
|
|
||||||
ret = ft1000_control(ft1000dev,
|
ret = ft1000_control(ft1000dev,
|
||||||
usb_rcvctrlpipe(ft1000dev->dev, 0),
|
usb_rcvctrlpipe(ft1000dev->dev, 0),
|
||||||
@ -87,7 +87,7 @@ int ft1000_read_register(struct ft1000_usb *ft1000dev, u16* Data,
|
|||||||
int ft1000_write_register(struct ft1000_usb *ft1000dev, u16 value,
|
int ft1000_write_register(struct ft1000_usb *ft1000dev, u16 value,
|
||||||
u16 nRegIndx)
|
u16 nRegIndx)
|
||||||
{
|
{
|
||||||
int ret = STATUS_SUCCESS;
|
int ret = 0;
|
||||||
|
|
||||||
ret = ft1000_control(ft1000dev,
|
ret = ft1000_control(ft1000dev,
|
||||||
usb_sndctrlpipe(ft1000dev->dev, 0),
|
usb_sndctrlpipe(ft1000dev->dev, 0),
|
||||||
@ -106,7 +106,7 @@ int ft1000_write_register(struct ft1000_usb *ft1000dev, u16 value,
|
|||||||
int ft1000_read_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer,
|
int ft1000_read_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer,
|
||||||
u16 cnt)
|
u16 cnt)
|
||||||
{
|
{
|
||||||
int ret = STATUS_SUCCESS;
|
int ret = 0;
|
||||||
|
|
||||||
ret = ft1000_control(ft1000dev,
|
ret = ft1000_control(ft1000dev,
|
||||||
usb_rcvctrlpipe(ft1000dev->dev, 0),
|
usb_rcvctrlpipe(ft1000dev->dev, 0),
|
||||||
@ -125,7 +125,7 @@ int ft1000_read_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer,
|
|||||||
int ft1000_write_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer,
|
int ft1000_write_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer,
|
||||||
u16 cnt)
|
u16 cnt)
|
||||||
{
|
{
|
||||||
int ret = STATUS_SUCCESS;
|
int ret = 0;
|
||||||
|
|
||||||
if (cnt % 4)
|
if (cnt % 4)
|
||||||
cnt += cnt - (cnt % 4);
|
cnt += cnt - (cnt % 4);
|
||||||
@ -147,7 +147,7 @@ int ft1000_write_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer,
|
|||||||
int ft1000_read_dpram16(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer,
|
int ft1000_read_dpram16(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer,
|
||||||
u8 highlow)
|
u8 highlow)
|
||||||
{
|
{
|
||||||
int ret = STATUS_SUCCESS;
|
int ret = 0;
|
||||||
u8 request;
|
u8 request;
|
||||||
|
|
||||||
if (highlow == 0)
|
if (highlow == 0)
|
||||||
@ -171,7 +171,7 @@ int ft1000_read_dpram16(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer,
|
|||||||
/* write into DPRAM a number of bytes */
|
/* write into DPRAM a number of bytes */
|
||||||
int ft1000_write_dpram16(struct ft1000_usb *ft1000dev, u16 indx, u16 value, u8 highlow)
|
int ft1000_write_dpram16(struct ft1000_usb *ft1000dev, u16 indx, u16 value, u8 highlow)
|
||||||
{
|
{
|
||||||
int ret = STATUS_SUCCESS;
|
int ret = 0;
|
||||||
u8 request;
|
u8 request;
|
||||||
|
|
||||||
if (highlow == 0)
|
if (highlow == 0)
|
||||||
@ -198,12 +198,12 @@ int fix_ft1000_read_dpram32(struct ft1000_usb *ft1000dev, u16 indx,
|
|||||||
{
|
{
|
||||||
u8 buf[16];
|
u8 buf[16];
|
||||||
u16 pos;
|
u16 pos;
|
||||||
int ret = STATUS_SUCCESS;
|
int ret = 0;
|
||||||
|
|
||||||
pos = (indx / 4) * 4;
|
pos = (indx / 4) * 4;
|
||||||
ret = ft1000_read_dpram32(ft1000dev, pos, buf, 16);
|
ret = ft1000_read_dpram32(ft1000dev, pos, buf, 16);
|
||||||
|
|
||||||
if (ret == STATUS_SUCCESS) {
|
if (ret == 0) {
|
||||||
pos = (indx % 4) * 4;
|
pos = (indx % 4) * 4;
|
||||||
*buffer++ = buf[pos++];
|
*buffer++ = buf[pos++];
|
||||||
*buffer++ = buf[pos++];
|
*buffer++ = buf[pos++];
|
||||||
@ -230,13 +230,13 @@ int fix_ft1000_write_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer)
|
|||||||
u8 buf[32];
|
u8 buf[32];
|
||||||
u8 resultbuffer[32];
|
u8 resultbuffer[32];
|
||||||
u8 *pdata;
|
u8 *pdata;
|
||||||
int ret = STATUS_SUCCESS;
|
int ret = 0;
|
||||||
|
|
||||||
pos1 = (indx / 4) * 4;
|
pos1 = (indx / 4) * 4;
|
||||||
pdata = buffer;
|
pdata = buffer;
|
||||||
ret = ft1000_read_dpram32(ft1000dev, pos1, buf, 16);
|
ret = ft1000_read_dpram32(ft1000dev, pos1, buf, 16);
|
||||||
|
|
||||||
if (ret == STATUS_SUCCESS) {
|
if (ret == 0) {
|
||||||
pos2 = (indx % 4)*4;
|
pos2 = (indx % 4)*4;
|
||||||
buf[pos2++] = *buffer++;
|
buf[pos2++] = *buffer++;
|
||||||
buf[pos2++] = *buffer++;
|
buf[pos2++] = *buffer++;
|
||||||
@ -250,24 +250,24 @@ int fix_ft1000_write_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer)
|
|||||||
|
|
||||||
ret = ft1000_read_dpram32(ft1000dev, pos1, (u8 *)&resultbuffer[0], 16);
|
ret = ft1000_read_dpram32(ft1000dev, pos1, (u8 *)&resultbuffer[0], 16);
|
||||||
|
|
||||||
if (ret == STATUS_SUCCESS) {
|
if (ret == 0) {
|
||||||
buffer = pdata;
|
buffer = pdata;
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
if (buf[i] != resultbuffer[i])
|
if (buf[i] != resultbuffer[i])
|
||||||
ret = STATUS_FAILURE;
|
ret = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret == STATUS_FAILURE) {
|
if (ret == -1) {
|
||||||
ret = ft1000_write_dpram32(ft1000dev, pos1,
|
ret = ft1000_write_dpram32(ft1000dev, pos1,
|
||||||
(u8 *)&tempbuffer[0], 16);
|
(u8 *)&tempbuffer[0], 16);
|
||||||
ret = ft1000_read_dpram32(ft1000dev, pos1,
|
ret = ft1000_read_dpram32(ft1000dev, pos1,
|
||||||
(u8 *)&resultbuffer[0], 16);
|
(u8 *)&resultbuffer[0], 16);
|
||||||
if (ret == STATUS_SUCCESS) {
|
if (ret == 0) {
|
||||||
buffer = pdata;
|
buffer = pdata;
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
if (tempbuffer[i] != resultbuffer[i]) {
|
if (tempbuffer[i] != resultbuffer[i]) {
|
||||||
ret = STATUS_FAILURE;
|
ret = -1;
|
||||||
DEBUG("%s Failed to write\n",
|
DEBUG("%s Failed to write\n",
|
||||||
__func__);
|
__func__);
|
||||||
}
|
}
|
||||||
@ -281,7 +281,7 @@ int fix_ft1000_write_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer)
|
|||||||
/* reset or activate the DSP */
|
/* reset or activate the DSP */
|
||||||
static void card_reset_dsp(struct ft1000_usb *ft1000dev, bool value)
|
static void card_reset_dsp(struct ft1000_usb *ft1000dev, bool value)
|
||||||
{
|
{
|
||||||
u16 status = STATUS_SUCCESS;
|
int status = 0;
|
||||||
u16 tempword;
|
u16 tempword;
|
||||||
|
|
||||||
status = ft1000_write_register(ft1000dev, HOST_INTF_BE,
|
status = ft1000_write_register(ft1000dev, HOST_INTF_BE,
|
||||||
@ -398,7 +398,7 @@ int dsp_reload(struct ft1000_usb *ft1000dev)
|
|||||||
/* call codeloader */
|
/* call codeloader */
|
||||||
status = scram_dnldr(ft1000dev, pFileStart, FileLength);
|
status = scram_dnldr(ft1000dev, pFileStart, FileLength);
|
||||||
|
|
||||||
if (status != STATUS_SUCCESS)
|
if (status != 0)
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
||||||
msleep(1000);
|
msleep(1000);
|
||||||
@ -823,7 +823,7 @@ static int ft1000_copy_up_pkt(struct urb *urb)
|
|||||||
|
|
||||||
if (ft1000dev->status & FT1000_STATUS_CLOSING) {
|
if (ft1000dev->status & FT1000_STATUS_CLOSING) {
|
||||||
DEBUG("network driver is closed, return\n");
|
DEBUG("network driver is closed, return\n");
|
||||||
return STATUS_SUCCESS;
|
return 0;
|
||||||
}
|
}
|
||||||
// Read length
|
// Read length
|
||||||
len = urb->transfer_buffer_length;
|
len = urb->transfer_buffer_length;
|
||||||
@ -838,7 +838,7 @@ static int ft1000_copy_up_pkt(struct urb *urb)
|
|||||||
if (tempword != *chksum) {
|
if (tempword != *chksum) {
|
||||||
info->stats.rx_errors++;
|
info->stats.rx_errors++;
|
||||||
ft1000_submit_rx_urb(info);
|
ft1000_submit_rx_urb(info);
|
||||||
return STATUS_FAILURE;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
skb = dev_alloc_skb(len + 12 + 2);
|
skb = dev_alloc_skb(len + 12 + 2);
|
||||||
@ -847,7 +847,7 @@ static int ft1000_copy_up_pkt(struct urb *urb)
|
|||||||
DEBUG("ft1000_copy_up_pkt: No Network buffers available\n");
|
DEBUG("ft1000_copy_up_pkt: No Network buffers available\n");
|
||||||
info->stats.rx_errors++;
|
info->stats.rx_errors++;
|
||||||
ft1000_submit_rx_urb(info);
|
ft1000_submit_rx_urb(info);
|
||||||
return STATUS_FAILURE;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
pbuffer = (u8 *) skb_put(skb, len + 12);
|
pbuffer = (u8 *) skb_put(skb, len + 12);
|
||||||
@ -884,7 +884,7 @@ static int ft1000_copy_up_pkt(struct urb *urb)
|
|||||||
|
|
||||||
ft1000_submit_rx_urb(info);
|
ft1000_submit_rx_urb(info);
|
||||||
|
|
||||||
return SUCCESS;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -939,7 +939,7 @@ int ft1000_close(struct net_device *net)
|
|||||||
static int ft1000_chkcard(struct ft1000_usb *dev)
|
static int ft1000_chkcard(struct ft1000_usb *dev)
|
||||||
{
|
{
|
||||||
u16 tempword;
|
u16 tempword;
|
||||||
u16 status;
|
int status;
|
||||||
|
|
||||||
if (dev->fCondResetPend) {
|
if (dev->fCondResetPend) {
|
||||||
DEBUG
|
DEBUG
|
||||||
@ -977,7 +977,8 @@ static int ft1000_chkcard(struct ft1000_usb *dev)
|
|||||||
static bool ft1000_receive_cmd(struct ft1000_usb *dev, u16 *pbuffer,
|
static bool ft1000_receive_cmd(struct ft1000_usb *dev, u16 *pbuffer,
|
||||||
int maxsz, u16 *pnxtph)
|
int maxsz, u16 *pnxtph)
|
||||||
{
|
{
|
||||||
u16 size, ret;
|
u16 size;
|
||||||
|
int ret;
|
||||||
u16 *ppseudohdr;
|
u16 *ppseudohdr;
|
||||||
int i;
|
int i;
|
||||||
u16 tempword;
|
u16 tempword;
|
||||||
@ -1049,7 +1050,7 @@ static int ft1000_dsp_prov(void *arg)
|
|||||||
struct prov_record *ptr;
|
struct prov_record *ptr;
|
||||||
struct pseudo_hdr *ppseudo_hdr;
|
struct pseudo_hdr *ppseudo_hdr;
|
||||||
u16 *pmsg;
|
u16 *pmsg;
|
||||||
u16 status;
|
int status;
|
||||||
u16 TempShortBuf[256];
|
u16 TempShortBuf[256];
|
||||||
|
|
||||||
DEBUG("*** DspProv Entered\n");
|
DEBUG("*** DspProv Entered\n");
|
||||||
@ -1071,7 +1072,7 @@ static int ft1000_dsp_prov(void *arg)
|
|||||||
i++;
|
i++;
|
||||||
if (i == 10) {
|
if (i == 10) {
|
||||||
DEBUG("FT1000:ft1000_dsp_prov:message drop\n");
|
DEBUG("FT1000:ft1000_dsp_prov:message drop\n");
|
||||||
return STATUS_FAILURE;
|
return -1;
|
||||||
}
|
}
|
||||||
ft1000_read_register(dev, &tempword,
|
ft1000_read_register(dev, &tempword,
|
||||||
FT1000_REG_DOORBELL);
|
FT1000_REG_DOORBELL);
|
||||||
@ -1125,7 +1126,7 @@ static int ft1000_dsp_prov(void *arg)
|
|||||||
dev->fProvComplete = true;
|
dev->fProvComplete = true;
|
||||||
info->CardReady = 1;
|
info->CardReady = 1;
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ft1000_proc_drvmsg(struct ft1000_usb *dev, u16 size)
|
static int ft1000_proc_drvmsg(struct ft1000_usb *dev, u16 size)
|
||||||
@ -1139,7 +1140,7 @@ static int ft1000_proc_drvmsg(struct ft1000_usb *dev, u16 size)
|
|||||||
u16 i;
|
u16 i;
|
||||||
struct pseudo_hdr *ppseudo_hdr;
|
struct pseudo_hdr *ppseudo_hdr;
|
||||||
u16 *pmsg;
|
u16 *pmsg;
|
||||||
u16 status;
|
int status;
|
||||||
union {
|
union {
|
||||||
u8 byte[2];
|
u8 byte[2];
|
||||||
u16 wrd;
|
u16 wrd;
|
||||||
@ -1147,7 +1148,7 @@ static int ft1000_proc_drvmsg(struct ft1000_usb *dev, u16 size)
|
|||||||
|
|
||||||
char *cmdbuffer = kmalloc(1600, GFP_KERNEL);
|
char *cmdbuffer = kmalloc(1600, GFP_KERNEL);
|
||||||
if (!cmdbuffer)
|
if (!cmdbuffer)
|
||||||
return STATUS_FAILURE;
|
return -1;
|
||||||
|
|
||||||
status = ft1000_read_dpram32(dev, 0x200, cmdbuffer, size);
|
status = ft1000_read_dpram32(dev, 0x200, cmdbuffer, size);
|
||||||
|
|
||||||
@ -1250,7 +1251,7 @@ static int ft1000_proc_drvmsg(struct ft1000_usb *dev, u16 size)
|
|||||||
if (list_empty(&info->prov_list) == 0) {
|
if (list_empty(&info->prov_list) == 0) {
|
||||||
dev->fProvComplete = false;
|
dev->fProvComplete = false;
|
||||||
status = ft1000_dsp_prov(dev);
|
status = ft1000_dsp_prov(dev);
|
||||||
if (status != STATUS_SUCCESS)
|
if (status != 0)
|
||||||
goto out;
|
goto out;
|
||||||
} else {
|
} else {
|
||||||
dev->fProvComplete = true;
|
dev->fProvComplete = true;
|
||||||
@ -1425,7 +1426,7 @@ static int ft1000_proc_drvmsg(struct ft1000_usb *dev, u16 size)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = STATUS_SUCCESS;
|
status = 0;
|
||||||
out:
|
out:
|
||||||
kfree(cmdbuffer);
|
kfree(cmdbuffer);
|
||||||
DEBUG("return from ft1000_proc_drvmsg\n");
|
DEBUG("return from ft1000_proc_drvmsg\n");
|
||||||
@ -1438,7 +1439,7 @@ int ft1000_poll(void* dev_id)
|
|||||||
struct ft1000_info *info = netdev_priv(dev->net);
|
struct ft1000_info *info = netdev_priv(dev->net);
|
||||||
|
|
||||||
u16 tempword;
|
u16 tempword;
|
||||||
u16 status;
|
int status;
|
||||||
u16 size;
|
u16 size;
|
||||||
int i;
|
int i;
|
||||||
u16 data;
|
u16 data;
|
||||||
@ -1451,7 +1452,7 @@ int ft1000_poll(void* dev_id)
|
|||||||
|
|
||||||
if (ft1000_chkcard(dev) == FALSE) {
|
if (ft1000_chkcard(dev) == FALSE) {
|
||||||
DEBUG("ft1000_poll::ft1000_chkcard: failed\n");
|
DEBUG("ft1000_poll::ft1000_chkcard: failed\n");
|
||||||
return STATUS_FAILURE;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = ft1000_read_register (dev, &tempword, FT1000_REG_DOORBELL);
|
status = ft1000_read_register (dev, &tempword, FT1000_REG_DOORBELL);
|
||||||
@ -1477,7 +1478,7 @@ int ft1000_poll(void* dev_id)
|
|||||||
DEBUG("ft1000_poll: FT1000_REG_DOORBELL message type: FT1000_DB_DPRAM_RX : portid DRIVERID\n");
|
DEBUG("ft1000_poll: FT1000_REG_DOORBELL message type: FT1000_DB_DPRAM_RX : portid DRIVERID\n");
|
||||||
|
|
||||||
status = ft1000_proc_drvmsg (dev, size);
|
status = ft1000_proc_drvmsg (dev, size);
|
||||||
if (status != STATUS_SUCCESS )
|
if (status != 0 )
|
||||||
return status;
|
return status;
|
||||||
break;
|
break;
|
||||||
case DSPBCMSGID:
|
case DSPBCMSGID:
|
||||||
@ -1577,7 +1578,7 @@ int ft1000_poll(void* dev_id)
|
|||||||
}
|
}
|
||||||
if (i==100) {
|
if (i==100) {
|
||||||
DEBUG("Unable to reset ASIC\n");
|
DEBUG("Unable to reset ASIC\n");
|
||||||
return STATUS_SUCCESS;
|
return 0;
|
||||||
}
|
}
|
||||||
msleep(10);
|
msleep(10);
|
||||||
// Program WMARK register
|
// Program WMARK register
|
||||||
@ -1624,6 +1625,6 @@ int ft1000_poll(void* dev_id)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -45,13 +45,13 @@ static int ft1000_poll_thread(void *arg)
|
|||||||
msleep(10);
|
msleep(10);
|
||||||
if (!gPollingfailed) {
|
if (!gPollingfailed) {
|
||||||
ret = ft1000_poll(arg);
|
ret = ft1000_poll(arg);
|
||||||
if (ret != STATUS_SUCCESS) {
|
if (ret != 0) {
|
||||||
DEBUG("ft1000_poll_thread: polling failed\n");
|
DEBUG("ft1000_poll_thread: polling failed\n");
|
||||||
gPollingfailed = true;
|
gPollingfailed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return STATUS_SUCCESS;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ft1000_probe(struct usb_interface *interface,
|
static int ft1000_probe(struct usb_interface *interface,
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#define PSEUDOSZ 16
|
#define PSEUDOSZ 16
|
||||||
|
|
||||||
#define SUCCESS 0x00
|
|
||||||
|
|
||||||
struct app_info_block {
|
struct app_info_block {
|
||||||
u32 nTxMsg; /* DPRAM msg sent to DSP with app_id */
|
u32 nTxMsg; /* DPRAM msg sent to DSP with app_id */
|
||||||
u32 nRxMsg; /* DPRAM msg rcv from dsp with app_id */
|
u32 nRxMsg; /* DPRAM msg rcv from dsp with app_id */
|
||||||
@ -31,9 +29,6 @@ struct app_info_block {
|
|||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
|
|
||||||
#define STATUS_SUCCESS 0
|
|
||||||
#define STATUS_FAILURE 0x1001
|
|
||||||
|
|
||||||
#define FT1000_STATUS_CLOSING 0x01
|
#define FT1000_STATUS_CLOSING 0x01
|
||||||
|
|
||||||
#define DSPBCMSGID 0x10
|
#define DSPBCMSGID 0x10
|
||||||
|
Loading…
Reference in New Issue
Block a user