diff options
Diffstat (limited to 'GcodeProcessorLib/array_list.h')
-rw-r--r-- | GcodeProcessorLib/array_list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GcodeProcessorLib/array_list.h b/GcodeProcessorLib/array_list.h index 90e0cb5..53ed43e 100644 --- a/GcodeProcessorLib/array_list.h +++ b/GcodeProcessorLib/array_list.h @@ -64,7 +64,7 @@ public: inline int get_index_position(int index) const { - int index_position = index + front_index_;// + max_size_; + int index_position = index + front_index_ + max_size_; while (index_position >= max_size_) { index_position = index_position - max_size_; |