mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Updates to addressable LED (#2098)
Only PWM Headers are supported, so enforce that. Also fixes some init checks and init order checks.
This commit is contained in:
committed by
Peter Johnson
parent
1894219ef6
commit
6f6c6da9f5
@@ -207,6 +207,8 @@ const char* HAL_GetErrorMessage(int32_t code) {
|
||||
return HAL_SIM_NOT_SUPPORTED_MESSAGE;
|
||||
case HAL_CAN_BUFFER_OVERRUN:
|
||||
return HAL_CAN_BUFFER_OVERRUN_MESSAGE;
|
||||
case HAL_LED_CHANNEL_ERROR:
|
||||
return HAL_LED_CHANNEL_ERROR_MESSAGE;
|
||||
default:
|
||||
return "Unknown error status";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user