mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-21 02:45:07 +00:00
Fixes
This commit is contained in:
parent
d3c6e52ce3
commit
801eacee16
@ -16,7 +16,7 @@ struct RootConfig {
|
|||||||
* Indicates whether the device's model matches the specified model.
|
* Indicates whether the device's model matches the specified model.
|
||||||
* @param[in] device the device to check (non-null)
|
* @param[in] device the device to check (non-null)
|
||||||
* @param[in] model the model to check against
|
* @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);
|
bool root_is_model(const struct Device* device, const char* model);
|
||||||
|
|
||||||
|
|||||||
@ -29,6 +29,8 @@ const char* error_to_string(error_t error) {
|
|||||||
return "not supported";
|
return "not supported";
|
||||||
case ERROR_NOT_ALLOWED:
|
case ERROR_NOT_ALLOWED:
|
||||||
return "not allowed";
|
return "not allowed";
|
||||||
|
case ERROR_BUFFER_OVERFLOW:
|
||||||
|
return "buffer overlow";
|
||||||
default:
|
default:
|
||||||
return "unknown";
|
return "unknown";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user