Browse Source

Misc. whitespace

Scott Lahteine 5 years ago
parent
commit
ec13aa0dc1

+ 0
- 1
Marlin/src/HAL/HAL_ESP32/HAL.cpp View File

@@ -177,7 +177,6 @@ void HAL_adc_init() {
177 177
   // Calculate ADC characteristics (i.e., gain and offset factors for each attenuation level)
178 178
   for (int i = 0; i < ADC_ATTEN_MAX; i++) {
179 179
     esp_adc_cal_characterize(ADC_UNIT_1, (adc_atten_t)i, ADC_WIDTH_BIT_12, V_REF, &characteristics[i]);
180
-    
181 180
     // Change attenuation 100mV below the calibrated threshold
182 181
     thresholds[i] = esp_adc_cal_raw_to_voltage(4095, &characteristics[i]);
183 182
   }

+ 9
- 10
buildroot/share/PlatformIO/variants/BIGTREE_GENERIC_STM32F407_5X/ldscript.ld View File

@@ -134,7 +134,7 @@ SECTIONS
134 134
   _sidata = LOADADDR(.data);
135 135
 
136 136
   /* Initialized data sections goes into RAM, load LMA copy after code */
137
-  .data : 
137
+  .data :
138 138
   {
139 139
     . = ALIGN(4);
140 140
     _sdata = .;        /* create a global symbol at data start */
@@ -147,24 +147,24 @@ SECTIONS
147 147
 
148 148
   _siccmram = LOADADDR(.ccmram);
149 149
 
150
-  /* CCM-RAM section 
151
-  * 
152
-  * IMPORTANT NOTE! 
153
-  * If initialized variables will be placed in this section,
154
-  * the startup code needs to be modified to copy the init-values.  
155
-  */
150
+  /* CCM-RAM section
151
+   *
152
+   * IMPORTANT NOTE!
153
+   * If initialized variables will be placed in this section,
154
+   * the startup code needs to be modified to copy the init-values.
155
+   */
156 156
   .ccmram :
157 157
   {
158 158
     . = ALIGN(4);
159 159
     _sccmram = .;       /* create a global symbol at ccmram start */
160 160
     *(.ccmram)
161 161
     *(.ccmram*)
162
-    
162
+
163 163
     . = ALIGN(4);
164 164
     _eccmram = .;       /* create a global symbol at ccmram end */
165 165
   } >CCMRAM AT> FLASH
166 166
 
167
-  
167
+
168 168
   /* Uninitialized data section */
169 169
   . = ALIGN(4);
170 170
   .bss :
@@ -192,7 +192,6 @@ SECTIONS
192 192
     . = ALIGN(4);
193 193
   } >RAM
194 194
 
195
-  
196 195
 
197 196
   /* Remove information from the standard libraries */
198 197
   /DISCARD/ :

+ 1
- 1
buildroot/share/PlatformIO/variants/BIGTREE_GENERIC_STM32F407_5X/variant.h View File

@@ -135,7 +135,7 @@ extern const PinName digitalPin[];
135 135
   #define PE15  64 //1:FSMC_D12
136 136
   #define PD8   65 //1:FSMC_D13 / USART3_TX
137 137
   #define PD9   66 //1:FSMC_D14 / USART3_RX
138
-  #define PD10  67 //1:FSMC_D15 
138
+  #define PD10  67 //1:FSMC_D15
139 139
   #define PD11  68 //1:FSMC_A16
140 140
   #define PD12  69 //1:FSMC_A17 / TIM4_CH1
141 141
   #define PD13  70 //1:FSMC_A18 / TIM4_CH2

Loading…
Cancel
Save