status = (Hcill_state == HCILL_STATE_AWAKE)?GPIO_Request(GPIO_5,13):API_FAIL;
Is the above code equivalent to the code below?
if (Hcill_state == HCILL_STATE_AWAKE) { status = GPIO_Request (GPIO_5,13); }
Aucun commentaire:
Enregistrer un commentaire