moved fallback GIT_VERSION to AirGradient.h

This commit is contained in:
nick-4711
2024-04-24 20:27:45 +07:00
parent a3cbca61ee
commit 5078b35341
3 changed files with 5 additions and 5 deletions

View File

@ -5,10 +5,6 @@
#include "WiFi.h"
#endif
#ifndef GIT_VERSION
#define GIT_VERSION "snapshot"
#endif
AirGradient::AirGradient(BoardType type)
: pms5003(type), pms5003t_1(type), pms5003t_2(type), s8(type), sgp41(type),
display(type), boardType(type), button(type), statusLed(type),

View File

@ -13,6 +13,10 @@
#include "Sgp41/Sgp41.h"
#include "Sht/Sht.h"
#ifndef GIT_VERSION
#define GIT_VERSION "snapshot"
#endif
/**
* @brief Class with define all the sensor has supported by Airgradient. Each
* sensor usage must be init before use.