MarcoMartines / GSM-GPRS-GPS-Shield

GSM/GPRS & GPS Shield Library for modules using SIM900/SIM908
GNU General Public License v2.0
208 stars 152 forks source link

Fix for prog_char deprecated in avr-libc #21

Closed alcomposer closed 9 years ago

alcomposer commented 9 years ago

I replaced prog_char with PROGMEM, I am using this library on a MEGA board, so HWSerial is called.

I think that prog_char has been depreciated

madmaze commented 9 years ago

Thanks for fixing this.

alcomposer commented 9 years ago

I was a bit embarrassed as it was a really simpler thing... Shouldn't there be a conditional for the build system being used? I am guessing now it may not work for older systems?

It would also be great to work out a way to get a single mega variable to put the library into mega mode. I really had to go crazy deleting everything software serial linked to make it work. But now it works very well!

Cheers Alex

On 28 May 2015, at 9:42 pm, Matthias Lee notifications@github.com wrote:

Thanks for fixing this.

— Reply to this email directly or view it on GitHub.