kopia lustrzana https://github.com/meshtastic/firmware
				
				
				
			Fix build error for none RAK2560 devices
							rodzic
							
								
									d7c52c33b9
								
							
						
					
					
						commit
						5e01b4251f
					
				|  | @ -1,3 +1,4 @@ | |||
| #ifdef HAS_RAKPROT  | ||||
| #include "RAK9154Sensor.h" | ||||
| #include "../mesh/generated/meshtastic/telemetry.pb.h" | ||||
| #include "TelemetrySensor.h" | ||||
|  | @ -187,3 +188,4 @@ bool RAK9154Sensor::isCharging() | |||
| { | ||||
| 	return (dc_cur > 0) ? true : false; | ||||
| } | ||||
| #endif // HAS_RAKPROT
 | ||||
|  | @ -1,3 +1,4 @@ | |||
| #ifdef HAS_RAKPROT | ||||
| #include "../mesh/generated/meshtastic/telemetry.pb.h" | ||||
| #include "TelemetrySensor.h" | ||||
| #include "VoltageSensor.h" | ||||
|  | @ -15,4 +16,5 @@ class RAK9154Sensor : public TelemetrySensor, VoltageSensor | |||
|     virtual uint16_t getBusVoltageMv() override; | ||||
|     int getBusBatteryPercent(); | ||||
|     bool isCharging(); | ||||
| }; | ||||
| }; | ||||
| #endif // HAS_RAKPROT
 | ||||
		Ładowanie…
	
		Reference in New Issue
	
	 beegee-tokyo
						beegee-tokyo