From 4dc111e63f61bff73fa46d6034a3da4ba8faffaf Mon Sep 17 00:00:00 2001 From: dhewg Date: Thu, 5 Jul 2012 21:53:00 +0200 Subject: [PATCH] Use a more modern way to set the fpu precision --- sys/sys_public.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/sys_public.h b/sys/sys_public.h index d5679d1..79d3297 100644 --- a/sys/sys_public.h +++ b/sys/sys_public.h @@ -52,12 +52,6 @@ typedef enum { FPU_EXCEPTION_INEXACT_RESULT = 32 } fpuExceptions_t; -typedef enum { - FPU_PRECISION_SINGLE = 0, - FPU_PRECISION_DOUBLE = 1, - FPU_PRECISION_DOUBLE_EXTENDED = 2 -} fpuPrecision_t; - typedef enum { AXIS_SIDE, AXIS_FORWARD, @@ -158,7 +152,7 @@ const char * Sys_FPU_GetState( void ); void Sys_FPU_EnableExceptions( int exceptions ); // sets the FPU precision -void Sys_FPU_SetPrecision( int precision ); +void Sys_FPU_SetPrecision(); // sets Flush-To-Zero mode void Sys_FPU_SetFTZ( bool enable );