mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-08-10 19:03:33 +02:00
Basic support for QMC5883L compass
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#include "heading.h"
|
||||
|
||||
void DroneHeading::setHeading(int64_t now, int16_t h)
|
||||
{
|
||||
_heading = h;
|
||||
_lastRead = now;
|
||||
}
|
||||
|
||||
int64_t DroneHeading::lastRead() { return _lastRead; }
|
||||
int16_t DroneHeading::heading() { return _heading; }
|
||||
Reference in New Issue
Block a user