adiv5: Removed an extraneous pair of perens as they suppress desirable warnings
This commit is contained in:
parent
3592658a26
commit
6f81cb6a68
|
@ -513,7 +513,7 @@ static void adiv5_component_probe(ADIv5_AP_t *ap, uint32_t addr, const size_t re
|
|||
ap->designer_code = designer_code;
|
||||
ap->ap_partno = part_number;
|
||||
|
||||
if ((ap->designer_code == JEP106_MANUFACTURER_ATMEL) && (ap->ap_partno == 0xcd0)) {
|
||||
if (ap->designer_code == JEP106_MANUFACTURER_ATMEL && ap->ap_partno == 0xcd0) {
|
||||
uint32_t ctrlstat = adiv5_mem_read32(ap, SAMX5X_DSU_CTRLSTAT);
|
||||
if (ctrlstat & SAMX5X_STATUSB_PROT) {
|
||||
/* A protected SAMx5x device is found.
|
||||
|
|
Loading…
Reference in New Issue