Use instance zero of the compatible to get the device instead of fixing a label. Print the used label for help debugging, and the results of finding the device (or not), with a hint about what might have gone wrong in case of failure. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| main.c | ||