|  |  | @ -17,6 +17,9 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | // no-op base hw class
 |  |  |  | // no-op base hw class
 | 
			
		
	
		
		
			
				
					
					|  |  |  | class HardwareNone { |  |  |  | class HardwareNone { | 
			
		
	
		
		
			
				
					
					|  |  |  | public: |  |  |  | public: | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   static constexpr float MAX_VOLUME = 0; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   static constexpr float MIN_VOLUME = 0; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   static std::string get_os_version() { return "openpilot for PC"; }; |  |  |  |   static std::string get_os_version() { return "openpilot for PC"; }; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   static void reboot() {}; |  |  |  |   static void reboot() {}; | 
			
		
	
	
		
		
			
				
					|  |  | @ -29,6 +32,9 @@ public: | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | class HardwareEon : public HardwareNone { |  |  |  | class HardwareEon : public HardwareNone { | 
			
		
	
		
		
			
				
					
					|  |  |  | public: |  |  |  | public: | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   static constexpr float MAX_VOLUME = 1.0; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   static constexpr float MIN_VOLUME = 0.5; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   static std::string get_os_version() { |  |  |  |   static std::string get_os_version() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return "NEOS " + util::read_file("/VERSION"); |  |  |  |     return "NEOS " + util::read_file("/VERSION"); | 
			
		
	
		
		
			
				
					
					|  |  |  |   }; |  |  |  |   }; | 
			
		
	
	
		
		
			
				
					|  |  | @ -54,6 +60,9 @@ public: | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | class HardwareTici : public HardwareNone { |  |  |  | class HardwareTici : public HardwareNone { | 
			
		
	
		
		
			
				
					
					|  |  |  | public: |  |  |  | public: | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   static constexpr float MAX_VOLUME = 0.5; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   static constexpr float MIN_VOLUME = 0.4; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   static std::string get_os_version() { |  |  |  |   static std::string get_os_version() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return "AGNOS " + util::read_file("/VERSION"); |  |  |  |     return "AGNOS " + util::read_file("/VERSION"); | 
			
		
	
		
		
			
				
					
					|  |  |  |   }; |  |  |  |   }; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |