Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

>#208 stm32: UART listen mode #226

Merged
merged 1 commit into from
Feb 13, 2017
Merged

>#208 stm32: UART listen mode #226

merged 1 commit into from
Feb 13, 2017

Conversation

forGGe
Copy link
Collaborator

@forGGe forGGe commented Feb 13, 2017

Includes listen mode tests, improved error handling in USART bus and
corrected strings in the suite generator.

Includes listen mode tests, improved error handling in USART bus and
corrected strings in the suite generator.
return;
}
// TODO: implement
ecl_assert_msg(0, "Not implemeted!");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about using static_assert here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Static assert will hit, even if there is no function call immediately after template instance is created.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even worse - it will be there even if template is not touched

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, didn't know

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem! :)

@forGGe forGGe merged commit 05af4fd into develop Feb 13, 2017
forGGe added a commit that referenced this pull request Feb 13, 2017
@forGGe forGGe deleted the g208_uart_listen_mode branch February 13, 2017 20:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants