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

multiple compilation errors #5

Open
nick-youngblut opened this issue Dec 29, 2018 · 1 comment
Open

multiple compilation errors #5

nick-youngblut opened this issue Dec 29, 2018 · 1 comment

Comments

@nick-youngblut
Copy link

I could not get the library to compile in the Arduino IDE 1.9.0-beta unless I changed the following in the PushBullet.cpp file:

Change 1

removed if( at line54

Change 2

Changed

sendAndToggl("/v2/pushes", "{\"body\":\""+message+"\",\"title\":\""+title+"\",\"type\":\"note\"}");

to

	String req = buildRequest("/v2/pushes", "{\"body\":\""+message+"\",\"title\":\""+title+"\",\"type\":\"note\"}");
	sendAndToggl(req);

for PushBullet::sendNotePush, PushBullet::sendLinkPush, PushBullet::sendSMSPush, and PushBullet::copyToClipboard

Notes

It appears that 124553e introduced all of these lines which caused the compilation issues for me

@sparky3387
Copy link

Also PushBulllet.h has copyToClipboard definded as void while the cpp has it as a bool

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

No branches or pull requests

2 participants