aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards/st_stm32f401cdiscovery/board.cpp
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2014-06-30 12:53:54 -0400
committerbnewbold <bnewbold@robocracy.org>2015-03-01 21:42:26 -0800
commit5e6e9187cecb150225312ffbc579921e7b4e8f15 (patch)
treecfe70d87c7aa297bcdfc36b34d46e1a523a3f4e9 /wirish/boards/st_stm32f401cdiscovery/board.cpp
parent90a83152875fbdb8b7e4d4bf79164b4bcc88421e (diff)
downloadlibrambutan-5e6e9187cecb150225312ffbc579921e7b4e8f15.tar.gz
librambutan-5e6e9187cecb150225312ffbc579921e7b4e8f15.zip
wirish/Print: explicit double-width constants
These are to prevent implicit constant conversions from floats to doubles and squelch -Wdouble-promotion warnings. Normally gcc will start by using doubles to represent floating point constants. On 32-bit MCUs with a floating point unit, it is more likely that floats are desired, unless explicitly annotated otherwise.
Diffstat (limited to 'wirish/boards/st_stm32f401cdiscovery/board.cpp')
0 files changed, 0 insertions, 0 deletions