diff --git a/TactilityKernel/Include/tactility/drivers/root.h b/TactilityKernel/Include/tactility/drivers/root.h index 62a2ae19..7682262f 100644 --- a/TactilityKernel/Include/tactility/drivers/root.h +++ b/TactilityKernel/Include/tactility/drivers/root.h @@ -16,7 +16,7 @@ struct RootConfig { * Indicates whether the device's model matches the specified model. * @param[in] device the device to check (non-null) * @param[in] model the model to check against - * @return true if the device's model matches the specified model' + * @return true if the device's model matches the specified model */ bool root_is_model(const struct Device* device, const char* model); diff --git a/TactilityKernel/Source/error.cpp b/TactilityKernel/Source/error.cpp index 7a6e144e..40883250 100644 --- a/TactilityKernel/Source/error.cpp +++ b/TactilityKernel/Source/error.cpp @@ -29,6 +29,8 @@ const char* error_to_string(error_t error) { return "not supported"; case ERROR_NOT_ALLOWED: return "not allowed"; + case ERROR_BUFFER_OVERFLOW: + return "buffer overlow"; default: return "unknown"; }