forked from auracaster/openocd
Remove whitespace at end of lines, step 2.
- Replace '\s*$' with ''. git-svn-id: svn://svn.berlios.de/openocd/trunk@2380 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -41,7 +41,7 @@ static inline void buf_set_u32(uint8_t* buffer, unsigned int first, unsigned int
|
||||
} else
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
|
||||
for (i = first; i < first + num; i++)
|
||||
{
|
||||
if (((value >> (i-first))&1) == 1)
|
||||
@@ -60,13 +60,13 @@ static inline uint32_t buf_get_u32(const uint8_t* buffer, unsigned int first, un
|
||||
{
|
||||
uint32_t result = 0;
|
||||
unsigned int i;
|
||||
|
||||
|
||||
for (i = first; i < first + num; i++)
|
||||
{
|
||||
if (((buffer[i/8]>>(i%8))&1) == 1)
|
||||
result |= 1 << (i-first);
|
||||
}
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user