mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +08:00
CC3000 driver changes from David Sidrane
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
uint8_t* UINT32_TO_STREAM_f (uint8_t *p, unsigned long u32)
|
||||
uint8_t *UINT32_TO_STREAM_f(uint8_t *p, unsigned long u32)
|
||||
{
|
||||
*(p)++ = (uint8_t)(u32);
|
||||
*(p)++ = (uint8_t)((u32) >> 8);
|
||||
@@ -99,7 +99,7 @@ uint8_t* UINT32_TO_STREAM_f (uint8_t *p, unsigned long u32)
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
uint8_t* UINT16_TO_STREAM_f (uint8_t *p, uint16_t u16)
|
||||
uint8_t *UINT16_TO_STREAM_f(uint8_t *p, uint16_t u16)
|
||||
{
|
||||
*(p)++ = (uint8_t)(u16);
|
||||
*(p)++ = (uint8_t)((u16) >> 8);
|
||||
|
||||
Reference in New Issue
Block a user