From a5a7b1f1d648bc80fa81298eba78642d2700be93 Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Wed, 19 Sep 2018 14:08:31 +0200 Subject: [PATCH] Move functions definitions behind variable definitions. (No change in functionality.) --- Firmware/fsensor.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Firmware/fsensor.cpp b/Firmware/fsensor.cpp index c4657293..1de90685 100644 --- a/Firmware/fsensor.cpp +++ b/Firmware/fsensor.cpp @@ -31,17 +31,6 @@ extern void stop_and_save_print_to_ram(float z_move, float e_move); extern void restore_print_from_ram_and_continue(float e_move); extern int8_t FSensorStateMenu; -void fsensor_stop_and_save_print(void) -{ - printf_P(PSTR("fsensor_stop_and_save_print\n")); - stop_and_save_print_to_ram(0, 0); //XYZE - no change -} - -void fsensor_restore_print_and_continue(void) -{ - printf_P(PSTR("fsensor_restore_print_and_continue\n")); - restore_print_from_ram_and_continue(0); //XYZ = orig, E - no change -} //uint8_t fsensor_int_pin = FSENSOR_INT_PIN; uint8_t fsensor_int_pin_old = 0; @@ -107,6 +96,17 @@ uint16_t fsensor_oq_yd_max; //sum of shutter value uint16_t fsensor_oq_sh_sum; +void fsensor_stop_and_save_print(void) +{ + printf_P(PSTR("fsensor_stop_and_save_print\n")); + stop_and_save_print_to_ram(0, 0); //XYZE - no change +} + +void fsensor_restore_print_and_continue(void) +{ + printf_P(PSTR("fsensor_restore_print_and_continue\n")); + restore_print_from_ram_and_continue(0); //XYZ = orig, E - no change +} void fsensor_init(void) {