mirror of
				https://github.com/DigitalDevices/dddvb.git
				synced 2025-03-01 10:35:23 +00:00 
			
		
		
		
	add demod lock state
This commit is contained in:
		| @@ -251,10 +251,11 @@ static int read_status(struct dvb_frontend *fe, enum fe_status *status) | ||||
| 	stat = _mci_cmd(state, &cmd, 1, res, 1); | ||||
| 	if (stat) | ||||
| 		return stat; | ||||
| 	*status = 0x00; | ||||
| 	if (res->status == SX8_DEMOD_WAIT_MATYPE) | ||||
| 		*status = 0x0f; | ||||
| 	if (res->status == SX8_DEMOD_LOCKED) | ||||
| 		*status = 0x1f; | ||||
| 	else | ||||
| 		*status = 0; | ||||
| 	return stat; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user