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.
Revision 6:8c15ffb18f88, committed 2020-01-13
- Comitter:
- Taisuke Yamada
- Date:
- Mon Jan 13 23:20:58 2020 +0900
- Branch:
- switch-to-cmsis-bitops
- Parent:
- 5:bf9087d1671b
- Commit message:
- Minor macro update
Changed in this revision
| AD9850SPI.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r bf9087d1671b -r 8c15ffb18f88 AD9850SPI.cpp
--- a/AD9850SPI.cpp Fri Jan 10 10:24:50 2020 +0900
+++ b/AD9850SPI.cpp Mon Jan 13 23:20:58 2020 +0900
@@ -12,7 +12,7 @@
#endif
#ifndef UINT32_MAX
-#define UINT32_MAX -1U
+#define UINT32_MAX ((uint32_t)-1)
#endif
#define UINT5_MAX 31
@@ -140,4 +140,4 @@
_spi.write(buffer, sizeof(buffer), NULL, 0);
_fq_ud = 1; wait_us(1);
_fq_ud = 0; wait_us(1);
-}
\ No newline at end of file
+}