__metal_driver_sifive_fe310_g000_prci_vtable();
long cfg = vtable->get_reg(config_base, config_offset);
- if (cfg & CONFIG_ENABLE == 0)
+ if ((cfg & CONFIG_ENABLE) == 0)
return -1;
- if (cfg & CONFIG_READY == 0)
+ if ((cfg & CONFIG_READY) == 0)
return -1;
return metal_clock_get_rate_hz(ref);
}
};
#endif /* METAL_SIFIVE_FE310_G000_HFXOSC */
+
+typedef int no_empty_translation_units;