UBL G29 -P3.1 smart fill (#6823)

* UBL G29 -P3.1 mesh fill with distance-weighted least squares fit.

* Back to original -O0 on G29 for now.
This commit is contained in:
oldmcg
2017-05-22 12:33:50 -05:00
committed by Roxy-3D
parent 850203fb3a
commit 48f7652143
4 changed files with 136 additions and 28 deletions

View File

@ -30,6 +30,12 @@
#define FORCE_INLINE __attribute__((always_inline)) inline
#define _O0 __attribute__((optimize("O0")))
#define _Os __attribute__((optimize("Os")))
#define _O1 __attribute__((optimize("O1")))
#define _O2 __attribute__((optimize("O2")))
#define _O3 __attribute__((optimize("O3")))
// Bracket code that shouldn't be interrupted
#ifndef CRITICAL_SECTION_START
#define CRITICAL_SECTION_START unsigned char _sreg = SREG; cli();