@@ -102,17 +102,17 @@ Distributed as-is; no warranty is given.
102102#define BME280_HUMIDITY_MSB_REG 0xFD // Humidity MSB
103103#define BME280_HUMIDITY_LSB_REG 0xFE // Humidity LSB
104104
105- // Class SensorSettings . This object is used to hold settings data. The application
105+ // Class BME280_SensorSettings . This object is used to hold settings data. The application
106106// uses this classes' data directly. The settings are adopted and sent to the sensor
107107// at special times, such as .begin. Some are used for doing math.
108108//
109109// This is a kind of bloated way to do this. The trade-off is that the user doesn't
110110// need to deal with #defines or enums with bizarre names.
111111//
112- // A power user would strip out SensorSettings entirely, and send specific read and
112+ // A power user would strip out BME280_SensorSettings entirely, and send specific read and
113113// write command directly to the IC. (ST #defines below)
114114//
115- struct SensorSettings
115+ struct BME280_SensorSettings
116116{
117117 public:
118118
@@ -165,16 +165,16 @@ class BME280
165165{
166166 public:
167167 // settings
168- SensorSettings settings;
168+ BME280_SensorSettings settings;
169169 SensorCalibration calibration;
170170 int32_t t_fine;
171171
172- // Constructor generates default SensorSettings .
172+ // Constructor generates default BME280_SensorSettings .
173173 // (over-ride after construction if desired)
174174 BME280 ( void );
175175 // ~BME280() = default;
176176
177- // Call to apply SensorSettings .
177+ // Call to apply BME280_SensorSettings .
178178 // This also gets the SensorCalibration constants
179179 uint8_t begin ( void );
180180 bool beginSPI (uint8_t csPin); // Communicate using SPI
0 commit comments