sensor monitoring compleat, starting on fan control
This commit is contained in:
		
							parent
							
								
									5dfdfce745
								
							
						
					
					
						commit
						9c17bfe0bf
					
				
					 6 changed files with 130 additions and 70 deletions
				
			
		
							
								
								
									
										4
									
								
								sensor.h
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								sensor.h
									
										
									
									
									
								
							|  | @ -1,3 +1,5 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <string> | ||||
| 
 | ||||
| class Sensor | ||||
|  | @ -10,6 +12,6 @@ public: | |||
| 
 | ||||
| public: | ||||
| 	Sensor() = default; | ||||
| 	Sensor(std::string chipI, std::string nameI, int idI = 0): name(nameI), chip(chipI), name(nameI), id(idI) {} | ||||
| 	Sensor(std::string chipI, std::string nameI, int idI = 0): name(nameI), chip(chipI), id(idI) {} | ||||
| 	bool operator==(const Sensor& other) {return other.name == name && other.chip == chip;} | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Carl Philipp Klemm
						Carl Philipp Klemm