mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-28 16:58:59 -04:00
* [EGD-3196] Fixed fatals in cellular. * [EGD-3196] Fixed sms sending. * [EGD-3196] Fixed timeout in ConfProcedure. * [EGD-3196] Board type moved to Event Manager. * [EGD-3196] Event Manager API renamed. * [EGD-3196] Misiing files. * [EGD-3196] Fixed modem status message, return code in magnetometer driver, case in modem init procedure. * [EGD-3196] PR suggestions applied. * [EGD-3196] Style fix. * [EGD-3196} GetBoardName -> c_str(); * [EGD-3196] Style fix. * [EGD-3196] PR suggestions added. * [EGD-3196] Style fix... * [EGD-3196] Style fix again. Co-authored-by: Kuba Kleczkowski <dd>
34 lines
541 B
C++
34 lines
541 B
C++
|
|
#include "bsp/magnetometer/magnetometer.hpp"
|
|
|
|
#include "bsp/BoardDefinitions.hpp"
|
|
|
|
using namespace drivers;
|
|
|
|
static xQueueHandle qHandleIrq = NULL;
|
|
|
|
namespace bsp
|
|
{
|
|
|
|
namespace magnetometer
|
|
{
|
|
|
|
int32_t init(xQueueHandle qHandle)
|
|
{
|
|
|
|
qHandleIrq = qHandle;
|
|
return 1;
|
|
}
|
|
|
|
bool isPresent(void)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bsp::Board GetBoard(void)
|
|
{
|
|
return bsp::Board::Linux;
|
|
}
|
|
} // namespace magnetometer
|
|
} // namespace bsp
|