Skip to content

Commit 65151c2

Browse files
authored
Apply suggestions from code review
1 parent 9e7edf2 commit 65151c2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ports/espressif/common-hal/_bleio/PacketBuffer.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,7 @@ static int packet_buffer_on_ble_client_evt(struct ble_gap_event *event, void *pa
159159
return false;
160160
}
161161

162-
#if CIRCUITPY_SERIAL_BLE || CIRCUITPY_BLE_FILE_SERVICE
163-
// Exposed via shared-bindings header when enabled
164162
void _common_hal_bleio_packet_buffer_construct(
165-
#else
166-
// Internal static helper when disabled (avoids "missing prototype" error)
167-
static void _common_hal_bleio_packet_buffer_construct(
168-
#endif
169163
bleio_packet_buffer_obj_t *self, bleio_characteristic_obj_t *characteristic,
170164
uint32_t *incoming_buffer, size_t incoming_buffer_size,
171165
uint32_t *outgoing_buffer1, uint32_t *outgoing_buffer2, size_t max_packet_size,

0 commit comments

Comments
 (0)