cc3000 driver with expanded buffers.
Fork of cc3000_hostdriver_mbedsocket by
Diff: cc3000_event.cpp
- Revision:
- 41:eb1999bd50fb
- Parent:
- 38:1d374a7f0c0d
- Child:
- 42:bd2c631a031a
--- a/cc3000_event.cpp Sat Oct 12 20:51:05 2013 +0000 +++ b/cc3000_event.cpp Sat Oct 12 21:03:45 2013 +0000 @@ -198,7 +198,6 @@ #endif } -Timer timer; uint8_t *cc3000_event::hci_event_handler(void *ret_param, uint8_t *from, uint8_t *fromlen) { uint8_t *received_data, argument_size; uint16_t length; @@ -207,11 +206,7 @@ uint32_t return_value; uint8_t * RecvParams; uint8_t *RetParams; - - - timer.reset(); - timer.start(); - + while (1) { if (_simple_link.get_data_received_flag() != 0) @@ -450,12 +445,6 @@ return NULL; } } - - if ( timer.read_ms() > 10000) - { - DBG_HCI("TIMEOUT Waiting for CC3000 Event - BAD"); - break; - } } }