|
@@ -5,7 +5,7 @@
|
5
|
5
|
|
6
|
6
|
#if F_CPU == 16000000
|
7
|
7
|
|
8
|
|
-const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {\
|
|
8
|
+const prog_uint16_t speed_lookuptable_fast[256][2] MARLIN_PROGMEM = {\
|
9
|
9
|
{ 62500, 55556}, { 6944, 3268}, { 3676, 1176}, { 2500, 607}, { 1893, 369}, { 1524, 249}, { 1275, 179}, { 1096, 135},
|
10
|
10
|
{ 961, 105}, { 856, 85}, { 771, 69}, { 702, 58}, { 644, 49}, { 595, 42}, { 553, 37}, { 516, 32},
|
11
|
11
|
{ 484, 28}, { 456, 25}, { 431, 23}, { 408, 20}, { 388, 19}, { 369, 16}, { 353, 16}, { 337, 14},
|
|
@@ -40,7 +40,7 @@ const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {\
|
40
|
40
|
{ 31, 0}, { 31, 0}, { 31, 0}, { 31, 1}, { 30, 0}, { 30, 0}, { 30, 0}, { 30, 0}
|
41
|
41
|
};
|
42
|
42
|
|
43
|
|
-const uint16_t speed_lookuptable_slow[256][2] PROGMEM = {\
|
|
43
|
+const prog_uint16_t speed_lookuptable_slow[256][2] MARLIN_PROGMEM = {\
|
44
|
44
|
{ 62500, 12500}, { 50000, 8334}, { 41666, 5952}, { 35714, 4464}, { 31250, 3473}, { 27777, 2777}, { 25000, 2273}, { 22727, 1894},
|
45
|
45
|
{ 20833, 1603}, { 19230, 1373}, { 17857, 1191}, { 16666, 1041}, { 15625, 920}, { 14705, 817}, { 13888, 731}, { 13157, 657},
|
46
|
46
|
{ 12500, 596}, { 11904, 541}, { 11363, 494}, { 10869, 453}, { 10416, 416}, { 10000, 385}, { 9615, 356}, { 9259, 331},
|
|
@@ -77,7 +77,7 @@ const uint16_t speed_lookuptable_slow[256][2] PROGMEM = {\
|
77
|
77
|
|
78
|
78
|
#elif F_CPU == 20000000
|
79
|
79
|
|
80
|
|
-const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {
|
|
80
|
+const uint16_t speed_lookuptable_fast[256][2] MARLIN_PROGMEM = {
|
81
|
81
|
{62500, 54055}, {8445, 3917}, {4528, 1434}, {3094, 745}, {2349, 456}, {1893, 307}, {1586, 222}, {1364, 167},
|
82
|
82
|
{1197, 131}, {1066, 105}, {961, 86}, {875, 72}, {803, 61}, {742, 53}, {689, 45}, {644, 40},
|
83
|
83
|
{604, 35}, {569, 32}, {537, 28}, {509, 25}, {484, 23}, {461, 21}, {440, 19}, {421, 17},
|
|
@@ -112,7 +112,7 @@ const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {
|
112
|
112
|
{39, 0}, {39, 0}, {39, 1}, {38, 0}, {38, 0}, {38, 0}, {38, 0}, {38, 0},
|
113
|
113
|
};
|
114
|
114
|
|
115
|
|
-const uint16_t speed_lookuptable_slow[256][2] PROGMEM = {
|
|
115
|
+const uint16_t speed_lookuptable_slow[256][2] MARLIN_PROGMEM = {
|
116
|
116
|
{62500, 10417}, {52083, 7441}, {44642, 5580}, {39062, 4340}, {34722, 3472}, {31250, 2841}, {28409, 2368}, {26041, 2003},
|
117
|
117
|
{24038, 1717}, {22321, 1488}, {20833, 1302}, {19531, 1149}, {18382, 1021}, {17361, 914}, {16447, 822}, {15625, 745},
|
118
|
118
|
{14880, 676}, {14204, 618}, {13586, 566}, {13020, 520}, {12500, 481}, {12019, 445}, {11574, 414}, {11160, 385},
|