- Fixes '>=' whitespace
- Replace ')\(>=\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(>=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2367 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -370,7 +370,7 @@ int bitq_execute_queue(void)
|
||||
LOG_ERROR("missing data from bitq interface");
|
||||
return ERROR_JTAG_QUEUE_FAILED;
|
||||
}
|
||||
if (bitq_interface->in()>=0)
|
||||
if (bitq_interface->in() >= 0)
|
||||
{
|
||||
LOG_ERROR("extra data from bitq interface");
|
||||
return ERROR_JTAG_QUEUE_FAILED;
|
||||
|
||||
@@ -652,14 +652,14 @@ static int presto_bitq_flush(void)
|
||||
|
||||
static int presto_bitq_in_rdy(void)
|
||||
{
|
||||
if (presto->buff_in_pos>=presto->buff_in_len)
|
||||
if (presto->buff_in_pos >= presto->buff_in_len)
|
||||
return 0;
|
||||
return presto->buff_in_len-presto->buff_in_pos;
|
||||
}
|
||||
|
||||
static int presto_bitq_in(void)
|
||||
{
|
||||
if (presto->buff_in_pos>=presto->buff_in_len)
|
||||
if (presto->buff_in_pos >= presto->buff_in_len)
|
||||
return -1;
|
||||
if (presto->buff_in[presto->buff_in_pos++]&0x08) return 1;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user