mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-02 21:09:03 +00:00
Openstreetmap support (#2765)
This commit is contained in:
+1
-1
@@ -440,7 +440,7 @@ static void _sumlr(void);
|
||||
#undef __O
|
||||
#undef __P
|
||||
|
||||
#define PI 3.141592653589793
|
||||
#include "mathdef.hpp"
|
||||
|
||||
static void _numinput(byte k);
|
||||
static double dpush(double d);
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ int HALF_HEIGHT = 0;
|
||||
#define JOGGING_SPEED 1.2
|
||||
#define MAX_ENTITY_DISTANCE 200
|
||||
#define ITEM_COLLIDER_DIST 6
|
||||
#define PI 3.14159265358979323846
|
||||
#include "mathdef.hpp"
|
||||
#define GUN_WIDTH 30
|
||||
#define GUN_HEIGHT 40
|
||||
#define GUN_TARGET_POS 24
|
||||
|
||||
@@ -158,9 +158,10 @@ WardriveMapView::WardriveMapView(NavigationView& nav)
|
||||
}
|
||||
|
||||
// never move this before the first load() bc that will mess load up
|
||||
geomap.on_move = [this](float lon, float lat) {
|
||||
geomap.on_move = [this](float lon, float lat, bool absolute) {
|
||||
(void)lon;
|
||||
(void)lat;
|
||||
(void)absolute;
|
||||
load_markers();
|
||||
};
|
||||
btn_back.on_select = [this, &nav](Button&) {
|
||||
|
||||
Reference in New Issue
Block a user