ac7b2da611
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
27 lines
524 B
C++
27 lines
524 B
C++
#include "components/ble/BleController.h"
|
|
|
|
using namespace Pinetime::Controllers;
|
|
|
|
void Ble::Connect() {
|
|
isConnected = true;
|
|
}
|
|
|
|
void Ble::Disconnect() {
|
|
isConnected = false;
|
|
}
|
|
|
|
void Ble::StartFirmwareUpdate() {
|
|
isFirmwareUpdating = true;
|
|
}
|
|
|
|
void Ble::StopFirmwareUpdate() {
|
|
isFirmwareUpdating = false;
|
|
}
|
|
|
|
void Ble::FirmwareUpdateTotalBytes(uint32_t totalBytes) {
|
|
firmwareUpdateTotalBytes = totalBytes;
|
|
}
|
|
|
|
void Ble::FirmwareUpdateCurrentBytes(uint32_t currentBytes) {
|
|
firmwareUpdateCurrentBytes = currentBytes;
|
|
}
|