You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by da...@apache.org on 2020/07/04 15:31:14 UTC

[incubator-nuttx] branch master updated: arch/tms570: Remove the unused frac variable

This is an automated email from the ASF dual-hosted git repository.

davids5 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 95aa3a1  arch/tms570: Remove the unused frac variable
95aa3a1 is described below

commit 95aa3a11d1e006f949e897b92606b6f4155d6f3c
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Jul 4 21:13:11 2020 +0800

    arch/tms570: Remove the unused frac variable
    
    and change the type of divb7 from float32_t to float
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 arch/arm/src/tms570/tms570_lowputc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/src/tms570/tms570_lowputc.c b/arch/arm/src/tms570/tms570_lowputc.c
index ebe9280..e80e05c 100644
--- a/arch/arm/src/tms570/tms570_lowputc.c
+++ b/arch/arm/src/tms570/tms570_lowputc.c
@@ -284,9 +284,8 @@ void tms570_lowsetup(void)
 int tms570_sci_configure(uint32_t base,
                          FAR const struct sci_config_s *config)
 {
-  float_t divb7;
+  float    divb7;
   uint32_t intpart;
-  float_t frac;
   uint32_t p;
   uint32_t m;
   uint32_t u;