Skip to content

Commit baf68a9

Browse files
committed
remove hal_time files
1 parent 3e31969 commit baf68a9

File tree

4 files changed

+3
-153
lines changed

4 files changed

+3
-153
lines changed

ports/nrf/drivers/bluetooth/ble_uart.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
#include <string.h>
3030
#include "ble_uart.h"
3131
#include "ringbuffer.h"
32-
#include "hal/hal_time.h"
32+
#include "py/mphal.h"
3333
#include "lib/utils/interrupt_char.h"
3434

3535
#if MICROPY_PY_BLE_NUS
3636

3737
#if BLUETOOTH_WEBBLUETOOTH_REPL
38-
#include "hal_time.h"
38+
//#include "hal_time.h"
3939
#endif // BLUETOOTH_WEBBLUETOOTH_REPL
4040

4141
static ubluepy_uuid_obj_t uuid_obj_service = {

ports/nrf/hal/hal_time.c

Lines changed: 0 additions & 116 deletions
This file was deleted.

ports/nrf/hal/hal_time.h

Lines changed: 0 additions & 34 deletions
This file was deleted.

ports/nrf/modules/ubluepy/ubluepy_scanner.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
#include "py/runtime.h"
3030
#include "py/objstr.h"
3131
#include "py/objlist.h"
32+
#include "py/mphal.h"
3233

3334
#if MICROPY_PY_UBLUEPY_CENTRAL
3435

3536
#include "ble_drv.h"
36-
#include "hal_time.h"
3737

3838
STATIC void adv_event_handler(mp_obj_t self_in, uint16_t event_id, ble_drv_adv_data_t * data) {
3939
ubluepy_scanner_obj_t *self = MP_OBJ_TO_PTR(self_in);

0 commit comments

Comments
 (0)