packed converter: divisions added
This commit is contained in:
		
							parent
							
								
									5ea1de2ab5
								
							
						
					
					
						commit
						3e5f76b439
					
				| @ -9,5 +9,10 @@ function Converter(decoded, port) { | ||||
|         converted.pax = converted.ble + converted.wifi; | ||||
|     } | ||||
| 
 | ||||
|     if (port === 2) { | ||||
|         converted.voltage /= 1000; | ||||
|         converted.uptime /= 60; | ||||
|     } | ||||
| 
 | ||||
|     return converted; | ||||
| } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user