Browse Source

🔨 Add src_filter for I2C_AMMETER (#24242)

ellensp 2 years ago
parent
commit
460e243693
No account linked to committer's email address
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      ini/features.ini
  2. 1
    0
      platformio.ini

+ 1
- 0
ini/features.ini View File

32
 NEOPIXEL_LED                           = adafruit/Adafruit NeoPixel@~1.8.0
32
 NEOPIXEL_LED                           = adafruit/Adafruit NeoPixel@~1.8.0
33
                                          src_filter=+<src/feature/leds/neopixel.cpp>
33
                                          src_filter=+<src/feature/leds/neopixel.cpp>
34
 I2C_AMMETER                            = peterus/INA226Lib@1.1.2
34
 I2C_AMMETER                            = peterus/INA226Lib@1.1.2
35
+                                         src_filter=+<src/feature/ammeter.cpp>
35
 USES_LIQUIDCRYSTAL                     = LiquidCrystal=https://github.com/MarlinFirmware/New-LiquidCrystal/archive/1.5.1.zip
36
 USES_LIQUIDCRYSTAL                     = LiquidCrystal=https://github.com/MarlinFirmware/New-LiquidCrystal/archive/1.5.1.zip
36
 USES_LIQUIDCRYSTAL_I2C                 = marcoschwartz/LiquidCrystal_I2C@1.1.4
37
 USES_LIQUIDCRYSTAL_I2C                 = marcoschwartz/LiquidCrystal_I2C@1.1.4
37
 USES_LIQUIDTWI2                        = LiquidTWI2@1.2.7
38
 USES_LIQUIDTWI2                        = LiquidTWI2@1.2.7

+ 1
- 0
platformio.ini View File

96
   -<src/HAL/shared/eeprom_if_i2c.cpp>
96
   -<src/HAL/shared/eeprom_if_i2c.cpp>
97
   -<src/HAL/shared/eeprom_if_spi.cpp>
97
   -<src/HAL/shared/eeprom_if_spi.cpp>
98
   -<src/feature/adc> -<src/gcode/feature/adc>
98
   -<src/feature/adc> -<src/gcode/feature/adc>
99
+  -<src/feature/ammeter.cpp>
99
   -<src/feature/babystep.cpp>
100
   -<src/feature/babystep.cpp>
100
   -<src/feature/backlash.cpp>
101
   -<src/feature/backlash.cpp>
101
   -<src/feature/baricuda.cpp> -<src/gcode/feature/baricuda>
102
   -<src/feature/baricuda.cpp> -<src/gcode/feature/baricuda>

Loading…
Cancel
Save