Standardize some hexadecimals
This commit is contained in:
@@ -247,7 +247,7 @@ uint16_t HAL_adc_get_result(void) {
|
||||
data = lowpass_filter[adc_channel].update(data);
|
||||
#endif
|
||||
|
||||
return ((data >> 2) & 0x3ff); // return 10bit value as Marlin expects
|
||||
return ((data >> 2) & 0x3FF); // return 10bit value as Marlin expects
|
||||
}
|
||||
|
||||
#define SBIT_CNTEN 0
|
||||
|
||||
Reference in New Issue
Block a user