mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-19 01:45:06 +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.
|
||||
* @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);
|
||||
|
||||
|
||||
@ -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";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user