Fix __ARM__ / __arm__ typo (#19063)

This commit is contained in:
Giuliano Zaro 2020-08-19 09:59:37 +02:00 committed by GitHub
parent 60b61de395
commit d3c5161476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1264,7 +1264,7 @@ void Stepper::set_directions() {
} }
FORCE_INLINE int32_t Stepper::_eval_bezier_curve(const uint32_t curr_step) { FORCE_INLINE int32_t Stepper::_eval_bezier_curve(const uint32_t curr_step) {
#if defined(__ARM__) || defined(__thumb__) #if defined(__arm__) || defined(__thumb__)
// For ARM Cortex M3/M4 CPUs, we have the optimized assembler version, that takes 43 cycles to execute // For ARM Cortex M3/M4 CPUs, we have the optimized assembler version, that takes 43 cycles to execute
uint32_t flo = 0; uint32_t flo = 0;