Skip to content

Commit 2bd5998

Browse files
committed
Reword unknown architecture compiler error
1 parent c75fc07 commit 2bd5998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utility/watchdog/Watchdog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void watchdog_enable()
7070
DEBUG_WARNING("%s: watchdog could not be enabled", __FUNCTION__);
7171
}
7272
#else
73-
# error "ARDUINO_ARCH not defined."
73+
# error "Unknown ARDUINO_ARCH. Supported architectures are ARDUINO_ARCH_SAMD and ARDUINO_ARCH_MBED."
7474
#endif
7575
}
7676

@@ -85,7 +85,7 @@ void watchdog_reset()
8585
hal_watchdog_kick();
8686
}
8787
#else
88-
# error "ARDUINO_ARCH not defined."
88+
# error "Unknown ARDUINO_ARCH. Supported architectures are ARDUINO_ARCH_SAMD and ARDUINO_ARCH_MBED."
8989
#endif
9090
}
9191

0 commit comments

Comments
 (0)