Commits

F Malpartida committed c9aff85

Close #4 - correct M8_200 to use floating point. When expanding the macro (X|Y|Z)_STEPS_PER_MM it was causing an overflow and the correct values were not being calculated. This is also due to the fact that the values have been scaled by 100 which make the overflow easier.

Now the value is expanded to an float or long value.

Comments (0)

Files changed (1)

  @defined    _MMI_ENABLED_
  @abstract   Enables the builtin MMI system controller.
  @discussion Enables the builtin MMI. If _MMI_ENABLED_ is not commented out
- the built in MMI will be compiled in. To enable the MMI,
- temperature control is also required in the stock MMI application
- that comes as standard.
- (ENABLE ME)
+ the built in MMI will be compiled in. Displays on an LCD the current position, 
+ temperature and fan speed. To be used with ELFSHL1 by default.
+ 
+ (ENABLE ME) by removing the comment of the define.
  */
-//#define _MMI_ENABLED_
+#define _MMI_ENABLED_
 
 /*!
  @defined    _TEMP_CONTROL_ENABLED_
  @abstract   Enables the builtin temperature controller.
  @discussion Enables the builtin temperature controller of the entire assembly.
- (ENABLE ME)
+ Monitoring the temperature and controlling a fan to keep the electronics at the
+ configured temperature range. To be used with ELFSHL1 by default.
+
+ (ENABLE ME) by removing the comment of the define.
  */
-//#define _TEMP_CONTROL_ENABLED_
+#define _TEMP_CONTROL_ENABLED_
 
 
 // CONTANT DEFINITIONS AND MACROS
 // M8 - 1.25mm per revolution - 360º/1.25 -> 288º = 1mm; (288º/1.8º)
 // M10 - 1.50mm per revolution - 360º/1.50 -> 240º = 1mm; (240º/1.8º)
 #define M10_200              (133.3333)
-#define M8_200               (160)
+#define M8_200               (160.0)
 
 
 /*!