Fear-Bravo / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

updates avr studio 6 #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
u8g.h

line 69: typedef const uint8_t PROGMEM u8g_pgm_uint8_t;
--> insert const

Original issue reported on code.google.com by olikr...@gmail.com on 18 May 2012 at 10:37

GoogleCodeExporter commented 8 years ago

Original comment by olikr...@gmail.com on 18 May 2012 at 10:50

GoogleCodeExporter commented 8 years ago
this fix breaks u8g
it seems, that the const keyword puts the progmem data somewhere else..

Original comment by olikr...@gmail.com on 18 May 2012 at 10:05

GoogleCodeExporter commented 8 years ago
u8g_pgm_uint8_t u8g_dev_st7565_dogm132_init_seq[] = {
should be rewritten to
const uint8_t u8g_dev_st7565_dogm132_init_seq[] PROGMEM = {

that means, remove the u8g_pgm_uint8_t

Original comment by olikr...@gmail.com on 18 May 2012 at 11:29

GoogleCodeExporter commented 8 years ago
mostly done, but kept in the arguments,
ToDo: Change example code

Original comment by olikr...@gmail.com on 19 May 2012 at 9:40

GoogleCodeExporter commented 8 years ago
done (combined example works)

Original comment by olikr...@gmail.com on 9 Jun 2012 at 10:17

GoogleCodeExporter commented 8 years ago

Original comment by olikr...@gmail.com on 9 Jun 2012 at 10:17