Deal with some magic numbers re hdc_current

This commit is contained in:
Jasmine Iwanek
2024-07-08 00:40:52 -04:00
parent 516dc589b7
commit 215b3253a5
8 changed files with 9 additions and 8 deletions

View File

@@ -660,7 +660,7 @@ europc_boot(UNUSED(const device_t *info))
*
* We only do this if we have not configured another one.
*/
if (hdc_current == 1)
if (hdc_current == HDC_INTERNAL)
(void) device_add(&xta_hd20_device);
return sys;