From 22d47c405d69ca7ebd2c557687978ab9d8083c2b Mon Sep 17 00:00:00 2001 From: Olliver Schinagl Date: Fri, 8 May 2015 12:18:15 +0200 Subject: Convert all floats to doubles Griffin supplies us with doubles, so use those rather then floats Signed-off-by: Olliver Schinagl --- src/eulogium.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/eulogium.h b/src/eulogium.h index 6cf57f6..833e712 100644 --- a/src/eulogium.h +++ b/src/eulogium.h @@ -45,20 +45,20 @@ char *griffin_print_status[] = { struct printer_data { enum printer_status status; uint_fast8_t hotend_count; - float *hotend_temp; - float *hotend_target_temp; - float bed_temp; - float bed_target_temp; + double *hotend_temp; + double *hotend_target_temp; + double bed_temp; + double bed_target_temp; }; struct print_data { uint_fast32_t time; - float progress; + double progress; char *file; char *name; char *flags; enum file_type type; - float material; + double material; }; enum proxy_idx { -- cgit v0.12