summaryrefslogtreecommitdiff
path: root/main.h
blob: 38fe4ffdc39662b032ecafbcdf2828c0815c8bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
#include <stdint.h>
#include "config.h"

#ifdef ARDUINO
#define NO_DISPLAY
#endif

uint32_t now(); // get monotonic time in ms

extern int g_width;
extern int g_height;
extern int g_harfe_connected;

/* 0 unconfigured
   1 import from Harfe
   2 import from File
   3 modified locally
*/
extern ConfigSource g_config_source;

extern int g_harfe_fd;