Browse Source

update

master
zhaohe 1 year ago
parent
commit
d89993bc6f
  1. 4
      include/zble_module.h
  2. 1
      src/zble_module.c
  3. 6
      src/znordic.c

4
include/zble_module.h

@ -1,7 +1,9 @@
#pragma once #pragma once
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>
#include "ble_dfu.h"
#include "nrf_bootloader_info.h"
#include "nrf_power.h"
/** /**
* @brief * @brief
*/ */

1
src/zble_module.c

@ -5,6 +5,7 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include "znordic.h" #include "znordic.h"
/******************************************************************************* /*******************************************************************************
* ?? * * ?? *

6
src/znordic.c

@ -33,6 +33,12 @@ void znordic_init() {
NRF_LOG_DEFAULT_BACKENDS_INIT(); NRF_LOG_DEFAULT_BACKENDS_INIT();
} }
#if 0
{
ret_code_t err_code = ble_dfu_buttonless_async_svci_init();
APP_ERROR_CHECK(err_code);
}
#endif
{ {
/******************************************************************************* /*******************************************************************************

Loading…
Cancel
Save