16 Commits

Author SHA1 Message Date
Milanka Ringwald
2fca4dad95 license: update text 2021-11-02 09:31:00 +01:00
Matthias Ringwald
41f9be703f avoid function param modification 2021-06-02 19:11:43 +02:00
Matthias Ringwald
6058cb0da7 examples: use btstack_event.h getters instead of direct array access, use enum to compare status codes 2021-03-25 08:58:57 +01:00
Matthias Ringwald
9305033e02 MISRAC2012-Rule-14.4_c: compare against 0 or NULL 2021-02-01 15:15:55 +01:00
Matthias Ringwald
40adb62dab btstack_ring_buffer: add btstack_ring_buffer_reset to reset it to initial state/empty 2020-09-04 09:38:39 +02:00
Matthias Ringwald
4ea43905e8 MISRAC2012-Rule-10.4_a: append 'u' to constant literals when used in unsigned expressions or comparisons 2020-07-23 12:36:33 +02:00
Matthias Ringwald
9192020a66 remove <stdio.h>, <stdlib.h> and printf from most core files 2020-07-07 22:52:12 +02:00
Matthias Ringwald
6535961a1f ignore memcpy return value (always returns first parameter) 2019-12-02 18:17:20 +01:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
e090bc19b5 btstack_ring_buffer: fix corner cases for empyt/full buffer and data length == 0 2017-07-28 10:52:34 +02:00
Matthias Ringwald
0df3b7185a btstack_ring_buffer: use uint32_t for sizes 2017-07-26 19:21:18 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
2c36c79169 Ring Buffer: speed up by using memcpy 2017-01-25 21:13:50 +01:00
Milanka Ringwald
44e9e4014d extend ring buffer indexes from uint16 to uint32 2016-10-19 10:47:02 +02:00
Milanka Ringwald
9e3fb5e92c fix ring buffer read 2016-10-18 14:14:04 +02:00
Milanka Ringwald
bc37f7b0d0 add ring buffer implementation 2016-10-17 23:54:12 +02:00