Skip to content

Commit

Permalink
BMP compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotak committed Aug 5, 2021
1 parent 2e3d0c2 commit a44d9df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions code/WemosWeatherStation/meters.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ volatile bool meters_data = false;
volatile bool rain_data = false;
volatile bool read_adc = false;

void ICACHE_RAM_ATTR intAnemometer() {
void IRAM_ATTR intAnemometer() {
meters.intAnemometer();
}

void ICACHE_RAM_ATTR intRaingauge() {
void IRAM_ATTR intRaingauge() {
meters.intRaingauge();
}

Expand Down
6 changes: 3 additions & 3 deletions code/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ build_flags =
lib_deps =
${common.lib_deps}
adafruit/Adafruit MCP9808 Library
finitespace/BME280
https://github.com/finitespace/BME280
enjoyneering/HTU21D
pilotak/WeatherMeters
pilotak/MCP3X21
Expand All @@ -50,7 +50,7 @@ build_flags =
lib_deps =
${common.lib_deps}
adafruit/Adafruit MCP9808 Library
finitespace/BME280
https://github.com/finitespace/BME280
enjoyneering/HTU21D

[env:WemosWeatherStation_v2]
Expand Down Expand Up @@ -99,7 +99,7 @@ build_flags =
'-D HAS_METERS'
lib_deps =
${common.lib_deps}
finitespace/BME280
https://github.com/finitespace/BME280
https://github.com/pilotak/ClosedCube_SHT31D_Arduino
pilotak/WeatherMeters
pilotak/MCP3X21

0 comments on commit a44d9df

Please sign in to comment.