Fix compiler warnings in sm4.c
This commit is contained in:
parent
2b5e63eb7f
commit
fb6aa72de9
1 changed files with 3 additions and 2 deletions
|
@ -3,9 +3,10 @@
|
||||||
#include "sm4.h"
|
#include "sm4.h"
|
||||||
#include <avr/io.h>
|
#include <avr/io.h>
|
||||||
#include <avr/pgmspace.h>
|
#include <avr/pgmspace.h>
|
||||||
|
#include <math.h>
|
||||||
|
#include "Arduino.h"
|
||||||
|
|
||||||
#include "boards.h"
|
#include "boards.h"
|
||||||
#define bool int8_t
|
|
||||||
#define false 0
|
#define false 0
|
||||||
#define true 1
|
#define true 1
|
||||||
#include "Configuration_prusa.h"
|
#include "Configuration_prusa.h"
|
||||||
|
@ -191,4 +192,4 @@ uint16_t sm4_line_xyze_ui(uint16_t dx, uint16_t dy, uint16_t dz, uint16_t de)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif //NEW_XYZCAL
|
#endif //NEW_XYZCAL
|
||||||
|
|
Loading…
Reference in a new issue