mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* BIG refactor: 'board' and 'radio' objects now defined in 'target.h/.cpp'
* mesh::RTCClock class moved to MeshCore.h
This commit is contained in:
parent
0a5a115875
commit
bfb4b1c496
48 changed files with 726 additions and 407 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
static BLEDfu bledfu;
|
||||
|
||||
void faketecBoard::begin() {
|
||||
void FaketecBoard::begin() {
|
||||
// for future use, sub-classes SHOULD call this from their begin()
|
||||
startup_reason = BD_STARTUP_NORMAL;
|
||||
btn_prev_state = HIGH;
|
||||
|
|
@ -39,7 +39,7 @@ static void disconnect_callback(uint16_t conn_handle, uint8_t reason) {
|
|||
MESH_DEBUG_PRINTLN("BLE client disconnected");
|
||||
}
|
||||
|
||||
bool faketecBoard::startOTAUpdate() {
|
||||
bool FaketecBoard::startOTAUpdate() {
|
||||
// Config the peripheral connection with maximum bandwidth
|
||||
// more SRAM required by SoftDevice
|
||||
// Note: All config***() function must be called before begin()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue