Fixed warnings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16247 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
78ddc5c689
commit
284a08068d
|
@ -11,6 +11,13 @@
|
|||
<include style="regular">oop_base_interface.h</include>
|
||||
</includes>
|
||||
<definitions_early>
|
||||
<verbatim><![CDATA[
|
||||
/* Temporary, in order to avoid conflicts with the same definitions in old
|
||||
HAL streams.*/
|
||||
#undef STM_OK
|
||||
#undef STM_TIMEOUT
|
||||
#undef STM_RESET
|
||||
]]></verbatim>
|
||||
<group description="Streams return codes">
|
||||
<define name="STM_OK" value="0" >
|
||||
<brief>Returned code for operation successful.</brief>
|
||||
|
|
|
@ -33,6 +33,12 @@
|
|||
/* Module constants. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/* Temporary, in order to avoid conflicts with the same definitions in old
|
||||
HAL streams.*/
|
||||
#undef STM_OK
|
||||
#undef STM_TIMEOUT
|
||||
#undef STM_RESET
|
||||
|
||||
/**
|
||||
* @name Streams return codes
|
||||
* @{
|
||||
|
|
|
@ -314,7 +314,7 @@ ${s}
|
|||
[/#if]
|
||||
[#elseif this?node_name == "verbatim"]
|
||||
[#local ccode = (this[0]!"")?trim]
|
||||
[@GenerateIndentedCCode indent ccode /]
|
||||
[@GenerateIndentedCCode "" ccode /]
|
||||
[#if node?node_name?starts_with("definitions")]
|
||||
|
||||
[/#if]
|
||||
|
|
Loading…
Reference in New Issue