Files
MuditaOS/module-bsp/board/linux/magnetometer/magnetometer.cpp
kkleczkowski b70ad6c5fc Egd 3196 small cellular refactor (#365)
* [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>
2020-05-21 16:56:24 +02:00

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