Minor corrections
This commit is contained in:
		
							parent
							
								
									6cab754437
								
							
						
					
					
						commit
						6a7b752c39
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -134,7 +134,7 @@ class UsbCommunications extends Task<Void> {
 | 
				
			||||||
            printLog("NS in connected USB devices found", MsgType.PASS);
 | 
					            printLog("NS in connected USB devices found", MsgType.PASS);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        else {
 | 
					        else {
 | 
				
			||||||
            printLog("NS in connected USB devices no found\n  Returned: "+result, MsgType.FAIL);
 | 
					            printLog("NS in connected USB devices not found\n  Returned: "+result, MsgType.FAIL);
 | 
				
			||||||
            close();
 | 
					            close();
 | 
				
			||||||
            return null;
 | 
					            return null;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					@ -144,7 +144,7 @@ class UsbCommunications extends Task<Void> {
 | 
				
			||||||
        if (result != LibUsb.SUCCESS) {
 | 
					        if (result != LibUsb.SUCCESS) {
 | 
				
			||||||
            printLog("Open NS USB device\n  Returned: " + result, MsgType.FAIL);
 | 
					            printLog("Open NS USB device\n  Returned: " + result, MsgType.FAIL);
 | 
				
			||||||
            if (result == -3){
 | 
					            if (result == -3){
 | 
				
			||||||
                printLog("Double check that you have administrator privileges (you're 'root') or udev rules set for your user!",MsgType.INFO);
 | 
					                printLog("Double check that you have administrator privileges (you're 'root') or check 'udev' rules set for this user (linux only)!",MsgType.INFO);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            close();
 | 
					            close();
 | 
				
			||||||
            return null;
 | 
					            return null;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue