Merge branch 'development'

This commit is contained in:
John Wellbelove 2017-11-12 10:31:22 +00:00
parent bea0ff7f6d
commit d0d53d403f
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
name=Embedded Template Library
version=10.3.1
version=10.3.2
author= John Wellbelove <john.wellbelove@etlcpp.com>
maintainer=John Wellbelove <john.wellbelove@etlcpp.com>
sentence=A C++ template library tailored for embedded systems.

View File

@ -129,13 +129,13 @@ namespace etl
//********************************************
bool is_null_router() const
{
return (message_router_id != NULL_MESSAGE_ROUTER);
return (message_router_id == NULL_MESSAGE_ROUTER);
}
//********************************************
bool is_bus() const
{
return (message_router_id != MESSAGE_BUS);
return (message_router_id == MESSAGE_BUS);
}
enum
@ -176,17 +176,17 @@ namespace etl
}
//********************************************
void receive(const etl::imessage& message)
void receive(const etl::imessage&)
{
}
//********************************************
void receive(etl::imessage_router& source, const etl::imessage& message)
void receive(etl::imessage_router&, const etl::imessage&)
{
}
//********************************************
bool accepts(etl::message_id_t id) const
bool accepts(etl::message_id_t) const
{
return false;
}