fixed drive strength

Dependents:   capstone_i2c

Fork of mbed-dev by mbed official

Revision:
153:fa9ff456f731
Parent:
149:156823d33999
Child:
160:d5399cc887bb
diff -r 9a67f0b066fc -r fa9ff456f731 platform/mbed_critical.c
--- a/platform/mbed_critical.c	Thu Dec 15 11:48:27 2016 +0000
+++ b/platform/mbed_critical.c	Tue Dec 20 17:27:56 2016 +0000
@@ -15,6 +15,8 @@
  * limitations under the License.
  */
 
+/* Declare __STDC_LIMIT_MACROS so stdint.h defines UINT32_MAX when using C++ */
+#define __STDC_LIMIT_MACROS
 #include "platform/critical.h"
 
 #include "cmsis.h"