CC3000: Oops. Fix an error in the last commit

This commit is contained in:
Gregory Nutt 2014-12-18 07:39:55 -06:00
parent 2f1a30c403
commit 49a22f1ccb

View File

@ -681,7 +681,7 @@ static void * cc3000_worker(FAR void *arg)
*/
data_to_recv = (uint16_t)priv->rx_buffer.pbuffer[READ_OFFSET_TO_LENGTH] << 8 |;
(uint16_t)priv->rx_buffer.pbuffer[READ_OFFSET_TO_LENGTH];
(uint16_t)priv->rx_buffer.pbuffer[READ_OFFSET_TO_LENGTH + 1];
if (data_to_recv)
{