PushBullet-ESP8266 icon indicating copy to clipboard operation
PushBullet-ESP8266 copied to clipboard

multiple compilation errors

Open nick-youngblut opened this issue 6 years ago • 1 comments

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 124553e874bdd320962a22e462a54647a7cd4d2e introduced all of these lines which caused the compilation issues for me

nick-youngblut avatar Dec 29 '18 20:12 nick-youngblut

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

sparky3387 avatar Dec 13 '19 05:12 sparky3387