Skip to content

Commit 45a223a

Browse files
committed
Remove White spaces
1 parent e110153 commit 45a223a

File tree

110 files changed

+993
-995
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+993
-995
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Please, before you create a new bug report, please make sure you searched in ope
2020

2121
**Describe the bug**
2222
A clear and concise description of what the bug is.
23-
23+
2424
**To Reproduce**
2525
Please describe steps to reproduce the behavior.
26-
26+
2727
**Expected behavior**
2828
A clear and concise description of what you expected to happen.
29-
29+
3030
**G-code**
3131
Please attach a G-code. This will make it easier for us to replicate the error.
3232

.github/ISSUE_TEMPLATE/enhancement.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Enter what type of printer or upgrade the enhancement applies to.
1515

1616
**Is your enhancement related to a problem? Please describe.**
1717
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
18-
18+
1919
**Describe the solution you'd like**
2020
A clear and concise description of what you want to happen.

.github/ISSUE_TEMPLATE/feature_request.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ If it makes sense, enter what type of printer or upgrade the feature request app
1515

1616
**Is your feature request related to a problem? Please describe.**
1717
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
18-
18+
1919
**Describe the solution you'd like**
2020
A clear and concise description of what you want to happen.

.github/workflows/stale.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
# Don't ever mark PRs as stale.
1818
days-before-pr-stale: -1
1919
stale-issue-message: 'This issue has been flagged as stale because it has been open for 60 days with no activity. The issue will be closed in 7 days unless someone removes the "stale" label or adds a comment.'
20-
close-issue-message: 'This issue has been closed due to lack of recent activity. Please consider opening a new one if needed.'
21-
# Don't act on things assigned to a milestone or assigned to someone.
20+
close-issue-message: 'This issue has been closed due to lack of recent activity. Please consider opening a new one if needed.'
21+
# Don't act on things assigned to a milestone or assigned to someone.
2222
exempt-all-milestones: true
2323
exempt-all-assignees: true
2424
enable-statistics: true

Community_made.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Help `./PF-build.sh -h`
1616

1717
# MK404 Simulator
1818

19-
## MK404-build.sh
19+
## MK404-build.sh
2020
**MK404 is a community 3d printer simulator created by @vintagepc**
2121
Please checkout and support his github repository [MK404](https://github.com/vintagepc/MK404) and the [MK404 Wiki](https://github.com/vintagepc/MK404/wiki)
2222

Firmware/BlinkM.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
void SendColors(byte red, byte grn, byte blu)
1717
{
18-
Wire.begin();
18+
Wire.begin();
1919
Wire.beginTransmission(0x09);
2020
Wire.write('o'); //to disable ongoing script, only needs to be used once
2121
Wire.write('n');

Firmware/ConfigurationStore.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ bool Config_RetrieveSettings()
206206
eeprom_init_default_byte(&EEPROM_M500_base->n_arc_correction, pgm_read_byte(&default_conf.n_arc_correction));
207207
eeprom_init_default_word(&EEPROM_M500_base->min_arc_segments, pgm_read_word(&default_conf.min_arc_segments));
208208
eeprom_init_default_word(&EEPROM_M500_base->arc_segments_per_sec, pgm_read_word(&default_conf.arc_segments_per_sec));
209-
209+
210210
// Initialize the travel_acceleration in eeprom if not already
211211
eeprom_init_default_float(&EEPROM_M500_base->travel_acceleration, pgm_read_float(&default_conf.travel_acceleration));
212212

@@ -271,7 +271,7 @@ void Config_ResetDefault()
271271

272272
// steps per sq second need to be updated to agree with the units per sq second
273273
reset_acceleration_rates();
274-
274+
275275
#ifdef PIDTEMP
276276
updatePID();
277277
#endif//PIDTEMP

Firmware/Configuration_adv.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
/**
5656
* Auto-report all at once with M155 S<seconds> C[bitmask] with single timer
57-
*
57+
*
5858
* bit 0 = Auto-report temperatures
5959
* bit 1 = Auto-report fans
6060
* bit 2 = Auto-report position
@@ -229,7 +229,7 @@
229229
* limit is exceeded.
230230
*/
231231
#define SDCARD_SORT_ALPHA //Alphabetical sorting of SD files menu
232-
232+
233233
// SD Card Sorting options
234234
#ifdef SDCARD_SORT_ALPHA
235235
#define SD_SORT_TIME 0
@@ -238,11 +238,11 @@
238238
#define INSERTSORT
239239
// #define SORTING_DUMP
240240
// #define SORTING_SPEEDTEST
241-
241+
242242
#define SDSORT_LIMIT 100 // Maximum number of sorted items (10-256).
243243
#define FOLDER_SORTING -1 // -1=above 0=none 1=below
244244
#endif
245-
245+
246246
#if defined(SDCARD_SORT_ALPHA)
247247
#define HAS_FOLDER_SORTING (FOLDER_SORTING)
248248
#endif
@@ -392,7 +392,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
392392

393393
/**
394394
* Enable M120/M121 G-code commands
395-
*
395+
*
396396
*/
397397
//#define M120_M121_ENABLED //Be careful enabling and using these G-code commands.
398398

Firmware/Dcodes.cpp

+42-43
Original file line numberDiff line numberDiff line change
@@ -162,19 +162,19 @@ void dcode_core(daddr_t addr_start, const daddr_t addr_end, const dcode_mem_t ty
162162
### D3 - Read/Write EEPROM <a href="https://reprap.org/wiki/G-code#D3:_Read.2FWrite_EEPROM">D3: Read/Write EEPROM</a>
163163
This command can be used without any additional parameters. It will read the entire eeprom.
164164
#### Usage
165-
165+
166166
D3 [ A | C | X ]
167-
167+
168168
#### Parameters
169169
- `A` - Address (x0000-x0fff)
170170
- `C` - Count (1-4096)
171171
- `X` - Data (hex)
172-
172+
173173
#### Notes
174174
- The hex address needs to be lowercase without the 0 before the x
175-
- Count is decimal
175+
- Count is decimal
176176
- The hex data needs to be lowercase
177-
177+
178178
*/
179179
void dcode_3()
180180
{
@@ -203,9 +203,9 @@ extern float axis_steps_per_mm[NUM_AXIS];
203203
/*!
204204
*
205205
### D-1 - Endless Loop <a href="https://reprap.org/wiki/G-code#G28:_Move_to_Origin_.28Home.29">D-1: Endless Loop</a>
206-
206+
207207
D-1
208-
208+
209209
*
210210
*/
211211
void dcode__1()
@@ -220,9 +220,9 @@ void dcode__1()
220220
/*!
221221
### D0 - Reset <a href="https://reprap.org/wiki/G-code#D0:_Reset">D0: Reset</a>
222222
#### Usage
223-
223+
224224
D0 [ B ]
225-
225+
226226
#### Parameters
227227
- `B` - Bootloader
228228
*/
@@ -245,9 +245,9 @@ void dcode_0()
245245
/*!
246246
*
247247
### D1 - Clear EEPROM and RESET <a href="https://reprap.org/wiki/G-code#D1:_Clear_EEPROM_and_RESET">D1: Clear EEPROM and RESET</a>
248-
248+
249249
D1
250-
250+
251251
*
252252
*/
253253
void dcode_1()
@@ -287,13 +287,13 @@ void dcode_2()
287287

288288
#ifdef DEBUG_DCODES
289289
/*!
290-
290+
291291
### D4 - Read/Write PIN <a href="https://reprap.org/wiki/G-code#D4:_Read.2FWrite_PIN">D4: Read/Write PIN</a>
292292
To read the digital value of a pin you need only to define the pin number.
293293
#### Usage
294-
294+
295295
D4 [ P | F | V ]
296-
296+
297297
#### Parameters
298298
- `P` - Pin (0-255)
299299
- `F` - Function in/out (0/1)
@@ -335,20 +335,19 @@ void dcode_4()
335335
### D5 - Read/Write FLASH <a href="https://reprap.org/wiki/G-code#D5:_Read.2FWrite_FLASH">D5: Read/Write Flash</a>
336336
This command can be used without any additional parameters. It will read the 1kb FLASH.
337337
#### Usage
338-
338+
339339
D5 [ A | C | X | E ]
340-
340+
341341
#### Parameters
342342
- `A` - Address (x00000-x3ffff)
343343
- `C` - Count (1-8192)
344344
- `X` - Data (hex)
345345
- `E` - Erase
346-
346+
347347
#### Notes
348348
- The hex address needs to be lowercase without the 0 before the x
349-
- Count is decimal
349+
- Count is decimal
350350
- The hex data needs to be lowercase
351-
352351
*/
353352
void dcode_5()
354353
{
@@ -457,9 +456,9 @@ void dcode_7()
457456
/*!
458457
### D8 - Read/Write PINDA <a href="https://reprap.org/wiki/G-code#D8:_Read.2FWrite_PINDA">D8: Read/Write PINDA</a>
459458
#### Usage
460-
459+
461460
D8 [ ? | ! | P | Z ]
462-
461+
463462
#### Parameters
464463
- `?` - Read PINDA temperature shift values
465464
- `!` - Reset PINDA temperature shift values to default
@@ -510,11 +509,11 @@ void dcode_8()
510509
/*!
511510
### D9 - Read ADC <a href="https://reprap.org/wiki/G-code#D9:_Read.2FWrite_ADC">D9: Read ADC</a>
512511
#### Usage
513-
512+
514513
D9 [ I | V ]
515-
514+
516515
#### Parameters
517-
- `I` - ADC channel index
516+
- `I` - ADC channel index
518517
- `0` - Heater 0 temperature
519518
- `1` - Heater 1 temperature
520519
- `2` - Bed temperature
@@ -618,9 +617,9 @@ void dcode_12()
618617
### D80 - Bed check <a href="https://reprap.org/wiki/G-code#D80:_Bed_check">D80: Bed check</a>
619618
This command will log data to SD card file "mesh.txt".
620619
#### Usage
621-
620+
622621
D80 [ E | F | G | H | I | J ]
623-
622+
624623
#### Parameters
625624
- `E` - Dimension X (default 40)
626625
- `F` - Dimention Y (default 40)
@@ -658,9 +657,9 @@ void dcode_80()
658657
### D81 - Bed analysis <a href="https://reprap.org/wiki/G-code#D81:_Bed_analysis">D80: Bed analysis</a>
659658
This command will log data to SD card file "wldsd.txt".
660659
#### Usage
661-
660+
662661
D81 [ E | F | G | H | I | J ]
663-
662+
664663
#### Parameters
665664
- `E` - Dimension X (default 40)
666665
- `F` - Dimention Y (default 40)
@@ -684,9 +683,9 @@ void dcode_81()
684683
if (code_seen("H")) { strchr_pointer+=1; points_y = code_value(); }
685684
if (code_seen("I")) { strchr_pointer+=1; offset_x = code_value(); }
686685
if (code_seen("J")) { strchr_pointer+=1; offset_y = code_value(); }
687-
686+
688687
bed_analysis(dimension_x,dimension_y,points_x,points_y,offset_x,offset_y);
689-
688+
690689
}
691690

692691
#endif //HEATBED_ANALYSIS
@@ -713,11 +712,11 @@ extern void st_synchronize();
713712
/*!
714713
### D2130 - Trinamic stepper controller <a href="https://reprap.org/wiki/G-code#D2130:_Trinamic_stepper_controller">D2130: Trinamic stepper controller</a>
715714
@todo Please review by owner of the code. RepRap Wiki Gcode needs to be updated after review of owner as well.
716-
715+
717716
#### Usage
718-
717+
719718
D2130 [ Axis | Command | Subcommand | Value ]
720-
719+
721720
#### Parameters
722721
- Axis
723722
- `X` - X stepper driver
@@ -746,21 +745,21 @@ extern void st_synchronize();
746745
- `0, 180 --> 250` - Off
747746
- `0.9 --> 1.25` - Valid values (recommended is 1.1)
748747
- `@` - Home calibrate axis
749-
748+
750749
Examples:
751-
750+
752751
D2130E?wave
753-
752+
754753
Print extruder microstep linearity compensation curve
755-
754+
756755
D2130E!wave0
757-
756+
758757
Disable extruder linearity compensation curve, (sine curve is used)
759-
758+
760759
D2130E!wave220
761-
760+
762761
(sin(x))^1.1 extruder microstep compensation curve used
763-
762+
764763
Notes:
765764
For more information see https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2130_datasheet.pdf
766765
*
@@ -870,9 +869,9 @@ void dcode_2130()
870869
/*!
871870
### D9125 - PAT9125 filament sensor <a href="https://reprap.org/wiki/G-code#D9:_Read.2FWrite_ADC">D9125: PAT9125 filament sensor</a>
872871
#### Usage
873-
872+
874873
D9125 [ ? | ! | R | X | Y | L ]
875-
874+
876875
#### Parameters
877876
- `?` - Print values
878877
- `!` - Print values

0 commit comments

Comments
 (0)