forked from Imagelibrary/rtems
2009-06-15 Chris Johns <chrisj@rtems.org>
* libmisc/shell/hexdump-odsyntax.c: AVR has the same size float
and double. Fix error in case statement.
* libmisc/shell/main_dd.c: Remove sys/conf.h header. It is not
available if networking is disabled.
This commit is contained in:
@@ -353,9 +353,11 @@ odformatfp(rtems_shell_hexdump_globals* globals, char fchar __unused, const char
|
||||
case sizeof(float):
|
||||
digits = FLT_DIG;
|
||||
break;
|
||||
#if !defined(__AVR__)
|
||||
case sizeof(double):
|
||||
digits = DBL_DIG;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
if (isize == sizeof(long double))
|
||||
digits = LDBL_DIG;
|
||||
|
||||
Reference in New Issue
Block a user