Rev 28 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 28 | Rev 30 | ||
|---|---|---|---|
| Line 19... | Line 19... | ||
| 19 | 19 | ||
| 20 | *********************************************************************/ |
20 | *********************************************************************/ |
| 21 | #include <stdint.h> |
21 | #include <stdint.h> |
| 22 | #include <string.h> |
22 | #include <string.h> |
| 23 | #include "SSD1306.h" |
23 | #include "SSD1306.h" |
| 24 | #include "stm32f1xx_hal_conf.h" |
- | |
| 25 | #include "stm32f1xx_hal.h" |
24 | #include "stm32l1xx_hal.h" |
| 26 | 25 | ||
| 27 | 26 | ||
| 28 | #define swap(x,y) { typeof(x)t = x; x=y; y=t; } |
27 | #define swap(x,y) { typeof(x)t = x; x=y; y=t; } |
| 29 | #define abs(x) ((x)>0?(x):-(x)) |
28 | #define abs(x) ((x)>0?(x):-(x)) |
| 30 | 29 | ||