Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: as5048spi.h
- Revision:
- 5:12aba2c743f7
- Parent:
- 4:06b89a41109e
--- a/as5048spi.h Tue Mar 17 14:56:30 2015 +0000
+++ b/as5048spi.h Fri Jun 14 09:02:15 2019 +0000
@@ -1,3 +1,5 @@
+#ifndef AS5048SPI_H
+#define AS5048SPI_H
#include "mbed.h"
typedef enum {
AS_FLAG_PARITY = 0x8000,
@@ -83,4 +85,5 @@
int* _read(As5048Command command);
};
-
\ No newline at end of file
+
+#endif
\ No newline at end of file