CAN cfger - using consistent return types

This commit is contained in:
Pavel Kirienko
2015-12-27 19:42:38 +03:00
parent 288478fa4a
commit 1447674bfa
2 changed files with 6 additions and 4 deletions
@@ -120,14 +120,16 @@ public:
/**
* Add an additional filter configuration.
* This method must not be invoked after @ref computeConfiguration().
* @return 0 = success, negative for error.
*/
int16_t addFilterConfig(const CanFilterConfig& config);
int addFilterConfig(const CanFilterConfig& config);
/**
* This method loads the configuration computed with mergeConfigurations() or explicitly added by addFilterConfig()
* to the CAN driver. Must be called after computeConfiguration() and addFilterConfig().
* @return 0 = success, negative for error.
*/
int16_t applyConfiguration();
int applyConfiguration();
/**
* Returns the configuration computed with mergeConfigurations() or added by addFilterConfig().