| 8 | extern Driver hal_device_driver; |
| 9 | |
| 10 | static error_t start() { |
| 11 | /* We crash when construct fails, because if a single driver fails to construct, |
| 12 | * there is no guarantee that the previously constructed drivers can be destroyed */ |
| 13 | check(driver_construct_add(&hal_device_driver) == ERROR_NONE); |
| 14 | return ERROR_NONE; |
| 15 | } |
| 16 | |
| 17 | static error_t stop() { |
| 18 | /* We crash when destruct fails, because if a single driver fails to destruct, |
nothing calls this directly
no test coverage detected