Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make the library less dependent on the mbed.h header #5

Merged
merged 2 commits into from
Nov 20, 2014

Conversation

xiongyihui
Copy link
Contributor

Now, only UARTService.h depends on the mbed library. We can compile the library with the makefile - https://gist.github.com/xiongyihui/0c82af0c4555c11df226

@rgrover
Copy link
Contributor

rgrover commented Nov 17, 2014

Would you consider amending your pull request with the following?

diff --git a/services/UARTService.h b/services/UARTService.h
index 8f59948..e9a1a05 100644
--- a/services/UARTService.h
+++ b/services/UARTService.h
@@ -17,6 +17,7 @@
 #ifndef __BLE_UART_SERVICE_H__
 #define __BLE_UART_SERVICE_H__

+#include "mbed.h"
 #include "Stream.h"

 #include "UUID.h"

@xiongyihui
Copy link
Contributor Author

Sorry. The line needs to be kept. I will add it.

rgrover added a commit that referenced this pull request Nov 20, 2014
make the library less dependent on the mbed.h header
@rgrover rgrover merged commit d93ad34 into ARMmbed:master Nov 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants