Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Nibbels committed Mar 13, 2018
1 parent 680147a commit 639bebc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Repetier/Configuration.h
Expand Up @@ -234,7 +234,7 @@ with a dry run, you can test the speed of path computations, which are still per
/** \brief Writes the free RAM to output, if it is less then at the last test. Should always return
values >500 for safety, since it doesn't catch every function call. Nice to tweak cache
usage or for seraching for memory induced errors. Switch it off for production, it costs execution time. */
#define DEBUG_FREE_MEMORY 0 // 1 = on, 0 = off
#define DEBUG_FREE_MEMORY 1 // 1 = on, 0 = off

#if DEBUG_FREE_MEMORY
#define DEBUG_MEMORY Commands::checkFreeMemory();
Expand Down
2 changes: 1 addition & 1 deletion Repetier/Extruder.cpp
Expand Up @@ -380,7 +380,7 @@ void Extruder::setTemperatureForExtruder(float temperatureInCelsius,uint8_t extr
if( extr >= NUM_EXTRUDER )
{
// do not set the temperature for an extruder which is not present - this attempt could heat up the extruder without any control and could significantly overheat the extruder
Com::printFLN( PSTR( "setTemperatureForExtruder(): cant set Temp for Extr. T" ), extr );
if(temperatureInCelsius > 0) Com::printFLN( PSTR( "setTemperatureForExtruder(): cant set Temp for Extr. T" ), extr );
return;
}

Expand Down
2 changes: 1 addition & 1 deletion Repetier/RF1000.h
Expand Up @@ -848,7 +848,7 @@ for some printers causing an early stall. */
/** \brief Number of moves we can cache in advance.
This number of moves can be cached in advance. If you wan't to cache more, increase this. Especially on
many very short moves the cache may go empty. The minimum value is 5. */
#define MOVE_CACHE_SIZE 18
#define MOVE_CACHE_SIZE 17

/** \brief Low filled cache size.
If the cache contains less then MOVE_CACHE_LOW segments, the time per segment is limited to LOW_TICKS_PER_MOVE clock cycles.
Expand Down
2 changes: 1 addition & 1 deletion Repetier/RF2000.h
Expand Up @@ -855,7 +855,7 @@ for some printers causing an early stall. */
/** \brief Number of moves we can cache in advance.
This number of moves can be cached in advance. If you wan't to cache more, increase this. Especially on
many very short moves the cache may go empty. The minimum value is 5. */
#define MOVE_CACHE_SIZE 18
#define MOVE_CACHE_SIZE 17

/** \brief Low filled cache size.
If the cache contains less then MOVE_CACHE_LOW segments, the time per segment is limited to LOW_TICKS_PER_MOVE clock cycles.
Expand Down
3 changes: 0 additions & 3 deletions Repetier/uimenu.h
Expand Up @@ -622,9 +622,6 @@ UI_MENU_ACTION4C(ui_menu_quick_reset_ack,UI_ACTION_RF_RESET_ACK,UI_TEXT_RESET_AC
UI_MENU_ACTIONSELECTOR(ui_menu_quick_reset,UI_TEXT_RESET,ui_menu_quick_reset_ack)
#define RESET_VIA_MENU_COUNT 1
#define RESET_VIA_MENU_ENTRY ,&ui_menu_quick_reset
#else
#define RESET_VIA_MENU_COUNT 0
#define RESET_VIA_MENU_ENTRY

#ifdef DEBUG_PRINT
UI_MENU_ACTIONCOMMAND(ui_menu_quick_debug,"Write Debug",UI_ACTION_WRITE_DEBUG)
Expand Down
2 changes: 2 additions & 0 deletions changelog.txt
Expand Up @@ -5,6 +5,8 @@ V RF.01.41.05.Mod alpha (2018-03-12)
- corrected unit calculation in void Printer::MemoryPosition()
- rise of LOW_TICKS_PER_MOVE to 500k (It might not have a big effect but maybe on some parts)
- removed some old TODOs on which I am now absolut sure how to handle them.
- dont show "setTemperatureForExtruder(): cant set Temp for Extr." when it is set to 0°C.
- switched MOVE_CACHE back to 17 for testing reasons.

V RF.01.41.04.Mod alpha (2018-03-12)
- added FEATURE_DEBUG_MOVE_CACHE_TIMING to debug movecache fill while printing.
Expand Down

0 comments on commit 639bebc

Please sign in to comment.