Skip to content

Adding Inserters for the Print Class #5002

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion build/Temboo-1.1.5.zip.sha

This file was deleted.

1 change: 1 addition & 0 deletions build/Temboo-1.1.6.zip.sha
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9199f18f14abb0154c0773e54d0cdcd6dd3de599
2 changes: 1 addition & 1 deletion build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
<download-library name="Robot_Motor" version="1.0.2"/>
<download-library name="RobotIRremote" version="1.0.2"/>
<download-library name="SpacebrewYun" version="1.0.0"/>
<download-library name="Temboo" version="1.1.5"/>
<download-library name="Temboo" version="1.1.6"/>
Copy link
Contributor

@Chris--A Chris--A Jun 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temboo is not related. PR is for a specific topic, and commit + commit comments should be for a single purpose.

I see now, you may have had other commits creep into your commit (0a49c5a, cf39df1)

<download-library name="Esplora" version="1.0.4"/>
<download-library name="Mouse" version="1.0.1"/>
<download-library name="Keyboard" version="1.0.1"/>
Expand Down
1 change: 1 addition & 0 deletions build/shared/revisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ARDUINO 1.6.10
[core]
* fixed a small bug that caused a compile error on some 3rd party derivatives
boards based on Leonardo
* sam: added snprintf_P to avr/pgmspace.h stub. Thanks @jantje

[libraries]

Expand Down
2 changes: 2 additions & 0 deletions hardware/arduino/avr/cores/arduino/Print.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,6 @@ class Print
size_t println(void);
};

template<class T> inline Print &operator<<(Print &obj, T arg) { obj.print(arg); return obj; }

#endif
2 changes: 2 additions & 0 deletions hardware/arduino/sam/cores/arduino/Print.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,6 @@ class Print
size_t println(void);
};

template<class T> inline Print &operator<<(Print &obj, T arg) { obj.print(arg); return obj; }

#endif
1 change: 1 addition & 0 deletions hardware/arduino/sam/cores/arduino/avr/pgmspace.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ typedef const void* uint_farptr_t;
#define memcmp_PF(s1, s2, n) memcmp((s1), (s2), (n))

#define sprintf_P(s, f, ...) sprintf((s), (f), __VA_ARGS__)
#define snprintf_P(s, f, ...) snprintf((s), (f), __VA_ARGS__)
Copy link
Contributor

@Chris--A Chris--A Jun 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unrelated to the PR.

Please refer to #4996


#define pgm_read_byte(addr) (*(const unsigned char *)(addr))
#define pgm_read_word(addr) (*(const unsigned short *)(addr))
Expand Down