u8g2-copy/csrc/u8g2_d_memory.c

2119 lines
34 KiB
C
Raw Normal View History

2015-12-23 05:23:42 +08:00
/* u8g2_d_memory.c */
/* generated code, codebuild, u8g2 project */
#include "u8g2.h"
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_16_4_1(uint8_t *page_cnt)
2017-01-07 04:18:46 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-01-07 04:18:46 +08:00
static uint8_t buf[128];
*page_cnt = 1;
return buf;
#endif
2017-01-07 04:18:46 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_16_4_2(uint8_t *page_cnt)
2017-01-07 04:18:46 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-01-07 04:18:46 +08:00
static uint8_t buf[256];
*page_cnt = 2;
return buf;
#endif
2017-01-07 04:18:46 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_16_4_f(uint8_t *page_cnt)
2017-01-07 04:18:46 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 4;
return 0;
#else
2017-01-07 04:18:46 +08:00
static uint8_t buf[512];
*page_cnt = 4;
return buf;
#endif
2017-01-07 04:18:46 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_16_8_1(uint8_t *page_cnt)
2015-12-23 05:23:42 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2015-12-23 05:23:42 +08:00
static uint8_t buf[128];
*page_cnt = 1;
return buf;
#endif
2015-12-23 05:23:42 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_16_8_2(uint8_t *page_cnt)
2015-12-23 05:23:42 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2015-12-23 05:23:42 +08:00
static uint8_t buf[256];
*page_cnt = 2;
return buf;
#endif
2015-12-23 05:23:42 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_16_8_f(uint8_t *page_cnt)
2015-12-23 05:23:42 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 8;
return 0;
#else
2015-12-23 05:23:42 +08:00
static uint8_t buf[1024];
*page_cnt = 8;
return buf;
#endif
2016-05-14 04:51:02 +08:00
}
2020-09-26 01:20:38 +08:00
uint8_t *u8g2_m_255_2_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[2040];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_255_2_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[4080];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_255_2_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[4080];
*page_cnt = 2;
return buf;
#endif
}
2018-03-25 05:11:20 +08:00
uint8_t *u8g2_m_9_5_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-03-25 05:11:20 +08:00
static uint8_t buf[72];
*page_cnt = 1;
return buf;
#endif
2018-03-25 05:11:20 +08:00
}
uint8_t *u8g2_m_9_5_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-03-25 05:11:20 +08:00
static uint8_t buf[144];
*page_cnt = 2;
return buf;
#endif
2018-03-25 05:11:20 +08:00
}
uint8_t *u8g2_m_9_5_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 5;
return 0;
#else
2018-03-25 05:11:20 +08:00
static uint8_t buf[360];
*page_cnt = 5;
return buf;
#endif
2018-03-25 05:11:20 +08:00
}
2022-03-15 05:40:39 +08:00
uint8_t *u8g2_m_12_5_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[96];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_12_5_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[192];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_12_5_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 5;
return 0;
#else
static uint8_t buf[480];
*page_cnt = 5;
return buf;
#endif
}
2018-04-11 05:01:58 +08:00
uint8_t *u8g2_m_8_4_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-04-11 05:01:58 +08:00
static uint8_t buf[64];
*page_cnt = 1;
return buf;
#endif
2018-04-11 05:01:58 +08:00
}
uint8_t *u8g2_m_8_4_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-04-11 05:01:58 +08:00
static uint8_t buf[128];
*page_cnt = 2;
return buf;
#endif
2018-04-11 05:01:58 +08:00
}
uint8_t *u8g2_m_8_4_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 4;
return 0;
#else
2018-04-11 05:01:58 +08:00
static uint8_t buf[256];
*page_cnt = 4;
return buf;
#endif
2018-04-11 05:01:58 +08:00
}
2018-01-30 06:44:50 +08:00
uint8_t *u8g2_m_8_16_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-01-30 06:44:50 +08:00
static uint8_t buf[64];
*page_cnt = 1;
return buf;
#endif
2018-01-30 06:44:50 +08:00
}
uint8_t *u8g2_m_8_16_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-01-30 06:44:50 +08:00
static uint8_t buf[128];
*page_cnt = 2;
return buf;
#endif
2018-01-30 06:44:50 +08:00
}
uint8_t *u8g2_m_8_16_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 16;
return 0;
#else
2018-01-30 06:44:50 +08:00
static uint8_t buf[1024];
*page_cnt = 16;
return buf;
#endif
2018-01-30 06:44:50 +08:00
}
2017-12-15 03:31:50 +08:00
uint8_t *u8g2_m_12_12_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-12-15 03:31:50 +08:00
static uint8_t buf[96];
*page_cnt = 1;
return buf;
#endif
2017-12-15 03:31:50 +08:00
}
uint8_t *u8g2_m_12_12_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-12-15 03:31:50 +08:00
static uint8_t buf[192];
*page_cnt = 2;
return buf;
#endif
2017-12-15 03:31:50 +08:00
}
uint8_t *u8g2_m_12_12_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 12;
return 0;
#else
2017-12-15 03:31:50 +08:00
static uint8_t buf[1152];
*page_cnt = 12;
return buf;
#endif
2017-12-15 03:31:50 +08:00
}
2021-09-27 13:47:58 +08:00
uint8_t *u8g2_m_10_16_1(uint8_t *page_cnt)
2021-09-27 01:07:48 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2021-09-27 13:47:58 +08:00
static uint8_t buf[80];
2021-09-27 01:07:48 +08:00
*page_cnt = 1;
return buf;
#endif
}
2021-09-27 13:47:58 +08:00
uint8_t *u8g2_m_10_16_2(uint8_t *page_cnt)
2021-09-27 01:07:48 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2021-09-27 13:47:58 +08:00
static uint8_t buf[160];
2021-09-27 01:07:48 +08:00
*page_cnt = 2;
return buf;
#endif
}
2021-09-27 13:47:58 +08:00
uint8_t *u8g2_m_10_16_f(uint8_t *page_cnt)
2021-09-27 01:07:48 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
2021-09-27 13:47:58 +08:00
*page_cnt = 16;
2021-09-27 01:07:48 +08:00
return 0;
#else
static uint8_t buf[1280];
2021-09-27 13:47:58 +08:00
*page_cnt = 16;
2021-09-27 01:07:48 +08:00
return buf;
#endif
}
2018-02-04 22:47:53 +08:00
uint8_t *u8g2_m_16_16_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-02-04 22:47:53 +08:00
static uint8_t buf[128];
*page_cnt = 1;
return buf;
#endif
2018-02-04 22:47:53 +08:00
}
uint8_t *u8g2_m_16_16_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-02-04 22:47:53 +08:00
static uint8_t buf[256];
*page_cnt = 2;
return buf;
#endif
2018-02-04 22:47:53 +08:00
}
uint8_t *u8g2_m_16_16_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 16;
return 0;
#else
2018-02-04 22:47:53 +08:00
static uint8_t buf[2048];
*page_cnt = 16;
return buf;
#endif
2018-02-04 22:47:53 +08:00
}
2022-11-06 06:34:40 +08:00
uint8_t *u8g2_m_16_20_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[128];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_16_20_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[256];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_16_20_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 20;
return 0;
#else
static uint8_t buf[2560];
*page_cnt = 20;
return buf;
#endif
}
2018-05-24 03:10:03 +08:00
uint8_t *u8g2_m_20_20_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-05-24 03:10:03 +08:00
static uint8_t buf[160];
*page_cnt = 1;
return buf;
#endif
2018-05-24 03:10:03 +08:00
}
uint8_t *u8g2_m_20_20_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-05-24 03:10:03 +08:00
static uint8_t buf[320];
*page_cnt = 2;
return buf;
#endif
2018-05-24 03:10:03 +08:00
}
uint8_t *u8g2_m_20_20_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 20;
return 0;
#else
2018-05-24 03:10:03 +08:00
static uint8_t buf[3200];
*page_cnt = 20;
return buf;
#endif
2018-05-24 03:10:03 +08:00
}
2018-04-13 05:24:29 +08:00
uint8_t *u8g2_m_32_8_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-04-13 05:24:29 +08:00
static uint8_t buf[256];
*page_cnt = 1;
return buf;
#endif
2018-04-13 05:24:29 +08:00
}
uint8_t *u8g2_m_32_8_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-04-13 05:24:29 +08:00
static uint8_t buf[512];
*page_cnt = 2;
return buf;
#endif
2018-04-13 05:24:29 +08:00
}
uint8_t *u8g2_m_32_8_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 8;
return 0;
#else
2018-04-13 05:24:29 +08:00
static uint8_t buf[2048];
*page_cnt = 8;
return buf;
#endif
2018-04-13 05:24:29 +08:00
}
2021-09-03 03:53:47 +08:00
uint8_t *u8g2_m_13_8_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[104];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_13_8_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[208];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_13_8_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 8;
return 0;
#else
static uint8_t buf[832];
*page_cnt = 8;
return buf;
#endif
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_8_6_1(uint8_t *page_cnt)
2016-05-14 04:51:02 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[64];
2016-05-14 04:51:02 +08:00
*page_cnt = 1;
return buf;
#endif
2016-05-14 04:51:02 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_8_6_2(uint8_t *page_cnt)
2016-05-14 04:51:02 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[128];
2016-05-14 04:51:02 +08:00
*page_cnt = 2;
return buf;
#endif
2016-05-14 04:51:02 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_8_6_f(uint8_t *page_cnt)
2016-05-14 04:51:02 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 6;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[384];
*page_cnt = 6;
2016-05-14 04:51:02 +08:00
return buf;
#endif
2015-12-23 05:23:42 +08:00
}
uint8_t *u8g2_m_6_8_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[48];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_6_8_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[96];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_6_8_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 8;
return 0;
#else
static uint8_t buf[384];
*page_cnt = 8;
return buf;
#endif
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_12_2_1(uint8_t *page_cnt)
2017-07-09 15:07:14 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-07-09 15:07:14 +08:00
static uint8_t buf[96];
*page_cnt = 1;
return buf;
#endif
2017-07-09 15:07:14 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_12_2_2(uint8_t *page_cnt)
2017-07-09 15:07:14 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-07-09 15:07:14 +08:00
static uint8_t buf[192];
*page_cnt = 2;
return buf;
#endif
2017-07-09 15:07:14 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_12_2_f(uint8_t *page_cnt)
2017-07-09 15:07:14 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-07-09 15:07:14 +08:00
static uint8_t buf[192];
*page_cnt = 2;
return buf;
#endif
2017-07-09 15:07:14 +08:00
}
2022-08-31 03:36:10 +08:00
uint8_t *u8g2_m_12_4_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[96];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_12_4_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[192];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_12_4_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 4;
return 0;
#else
static uint8_t buf[384];
*page_cnt = 4;
return buf;
#endif
}
2019-01-20 16:01:27 +08:00
uint8_t *u8g2_m_16_12_1(uint8_t *page_cnt)
2017-10-28 22:57:15 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2019-01-20 16:01:27 +08:00
static uint8_t buf[128];
2017-10-28 22:57:15 +08:00
*page_cnt = 1;
return buf;
#endif
2017-10-28 22:57:15 +08:00
}
2019-01-20 16:01:27 +08:00
uint8_t *u8g2_m_16_12_2(uint8_t *page_cnt)
2017-10-28 22:57:15 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2019-01-20 16:01:27 +08:00
static uint8_t buf[256];
2017-10-28 22:57:15 +08:00
*page_cnt = 2;
return buf;
#endif
2017-10-28 22:57:15 +08:00
}
2019-01-20 16:01:27 +08:00
uint8_t *u8g2_m_16_12_f(uint8_t *page_cnt)
2017-10-28 22:57:15 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 12;
return 0;
#else
2019-01-20 16:01:27 +08:00
static uint8_t buf[1536];
*page_cnt = 12;
2017-10-28 22:57:15 +08:00
return buf;
#endif
2017-10-28 22:57:15 +08:00
}
2019-01-20 16:01:27 +08:00
uint8_t *u8g2_m_32_4_1(uint8_t *page_cnt)
2017-03-07 02:45:34 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2019-01-20 16:01:27 +08:00
static uint8_t buf[256];
2017-03-07 02:45:34 +08:00
*page_cnt = 1;
return buf;
#endif
2017-03-07 02:45:34 +08:00
}
2019-01-20 16:01:27 +08:00
uint8_t *u8g2_m_32_4_2(uint8_t *page_cnt)
2017-03-07 02:45:34 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2019-01-20 16:01:27 +08:00
static uint8_t buf[512];
2017-03-07 02:45:34 +08:00
*page_cnt = 2;
return buf;
#endif
2017-03-07 02:45:34 +08:00
}
2019-01-20 16:01:27 +08:00
uint8_t *u8g2_m_32_4_f(uint8_t *page_cnt)
2017-03-07 02:45:34 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 4;
return 0;
#else
2019-01-20 16:01:27 +08:00
static uint8_t buf[1024];
*page_cnt = 4;
2017-03-07 02:45:34 +08:00
return buf;
#endif
2017-03-07 02:45:34 +08:00
}
2019-11-23 15:33:02 +08:00
uint8_t *u8g2_m_12_8_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[96];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_12_8_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[192];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_12_8_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 8;
return 0;
#else
static uint8_t buf[768];
*page_cnt = 8;
return buf;
#endif
}
2023-03-20 02:59:18 +08:00
uint8_t *u8g2_m_16_5_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[128];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_16_5_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[256];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_16_5_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 5;
return 0;
#else
static uint8_t buf[640];
*page_cnt = 5;
return buf;
#endif
}
2023-06-15 01:28:23 +08:00
uint8_t *u8g2_m_18_4_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[144];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_18_4_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[288];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_18_4_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 4;
return 0;
#else
static uint8_t buf[576];
*page_cnt = 4;
return buf;
#endif
}
2022-06-12 15:42:02 +08:00
uint8_t *u8g2_m_20_4_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[160];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_20_4_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[320];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_20_4_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 4;
return 0;
#else
static uint8_t buf[640];
*page_cnt = 4;
return buf;
#endif
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_24_4_1(uint8_t *page_cnt)
2016-01-04 07:31:49 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2016-01-04 07:31:49 +08:00
static uint8_t buf[192];
*page_cnt = 1;
return buf;
#endif
2016-01-04 07:31:49 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_24_4_2(uint8_t *page_cnt)
2016-01-04 07:31:49 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2016-01-04 07:31:49 +08:00
static uint8_t buf[384];
*page_cnt = 2;
return buf;
#endif
2016-01-04 07:31:49 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_24_4_f(uint8_t *page_cnt)
2016-01-04 07:31:49 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 4;
return 0;
#else
2016-01-04 07:31:49 +08:00
static uint8_t buf[768];
*page_cnt = 4;
return buf;
#endif
2016-01-04 07:31:49 +08:00
}
2018-08-11 22:17:23 +08:00
uint8_t *u8g2_m_50_30_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-08-11 22:17:23 +08:00
static uint8_t buf[400];
*page_cnt = 1;
return buf;
#endif
2018-08-11 22:17:23 +08:00
}
uint8_t *u8g2_m_50_30_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-08-11 22:17:23 +08:00
static uint8_t buf[800];
*page_cnt = 2;
return buf;
#endif
2018-08-11 22:17:23 +08:00
}
uint8_t *u8g2_m_50_30_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 30;
return 0;
#else
2018-08-11 22:17:23 +08:00
static uint8_t buf[12000];
*page_cnt = 30;
return buf;
#endif
2018-08-11 22:17:23 +08:00
}
2018-11-09 13:19:05 +08:00
uint8_t *u8g2_m_18_21_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-11-09 13:19:05 +08:00
static uint8_t buf[144];
*page_cnt = 1;
return buf;
#endif
2018-11-09 13:19:05 +08:00
}
uint8_t *u8g2_m_18_21_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-11-09 13:19:05 +08:00
static uint8_t buf[288];
*page_cnt = 2;
return buf;
#endif
2018-11-09 13:19:05 +08:00
}
uint8_t *u8g2_m_18_21_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 21;
return 0;
#else
2018-11-09 13:19:05 +08:00
static uint8_t buf[3024];
*page_cnt = 21;
return buf;
#endif
2018-11-09 13:19:05 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_11_6_1(uint8_t *page_cnt)
2016-12-15 22:04:12 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2016-12-15 22:04:12 +08:00
static uint8_t buf[88];
*page_cnt = 1;
return buf;
#endif
2016-12-15 22:04:12 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_11_6_2(uint8_t *page_cnt)
2016-12-15 22:04:12 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2016-12-15 22:04:12 +08:00
static uint8_t buf[176];
*page_cnt = 2;
return buf;
#endif
2016-12-15 22:04:12 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_11_6_f(uint8_t *page_cnt)
2016-12-15 22:04:12 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 6;
return 0;
#else
2016-12-15 22:04:12 +08:00
static uint8_t buf[528];
*page_cnt = 6;
return buf;
#endif
2016-12-15 22:04:12 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_12_9_1(uint8_t *page_cnt)
2017-01-02 00:23:01 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-01-02 00:23:01 +08:00
static uint8_t buf[96];
*page_cnt = 1;
return buf;
#endif
2017-01-02 00:23:01 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_12_9_2(uint8_t *page_cnt)
2017-01-02 00:23:01 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-01-02 00:23:01 +08:00
static uint8_t buf[192];
*page_cnt = 2;
return buf;
#endif
2017-01-02 00:23:01 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_12_9_f(uint8_t *page_cnt)
2017-01-02 00:23:01 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 9;
return 0;
#else
2017-01-02 00:23:01 +08:00
static uint8_t buf[864];
*page_cnt = 9;
return buf;
#endif
2017-01-02 00:23:01 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_24_8_1(uint8_t *page_cnt)
2016-12-18 17:35:18 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2016-12-18 17:35:18 +08:00
static uint8_t buf[192];
*page_cnt = 1;
return buf;
#endif
2016-12-18 17:35:18 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_24_8_2(uint8_t *page_cnt)
2016-12-18 17:35:18 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2016-12-18 17:35:18 +08:00
static uint8_t buf[384];
*page_cnt = 2;
return buf;
#endif
2016-12-18 17:35:18 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_24_8_f(uint8_t *page_cnt)
2016-12-18 17:35:18 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 8;
return 0;
#else
2016-12-18 17:35:18 +08:00
static uint8_t buf[1536];
*page_cnt = 8;
return buf;
#endif
2016-12-18 17:35:18 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_8_1(uint8_t *page_cnt)
2016-11-23 03:18:51 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2016-11-23 03:18:51 +08:00
static uint8_t buf[240];
*page_cnt = 1;
return buf;
#endif
2016-11-23 03:18:51 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_8_2(uint8_t *page_cnt)
2016-11-23 03:18:51 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2016-11-23 03:18:51 +08:00
static uint8_t buf[480];
*page_cnt = 2;
return buf;
#endif
2016-11-23 03:18:51 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_8_f(uint8_t *page_cnt)
2016-11-23 03:18:51 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 8;
return 0;
#else
2016-11-23 03:18:51 +08:00
static uint8_t buf[1920];
*page_cnt = 8;
return buf;
#endif
2016-11-23 03:18:51 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_15_1(uint8_t *page_cnt)
2016-10-15 23:08:04 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[240];
2016-10-15 23:08:04 +08:00
*page_cnt = 1;
return buf;
#endif
2016-10-15 23:08:04 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_15_2(uint8_t *page_cnt)
2016-10-15 23:08:04 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[480];
2016-10-15 23:08:04 +08:00
*page_cnt = 2;
return buf;
#endif
2016-10-15 23:08:04 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_15_f(uint8_t *page_cnt)
2016-10-15 23:08:04 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 15;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[3600];
*page_cnt = 15;
2016-10-15 23:08:04 +08:00
return buf;
#endif
2016-10-15 23:08:04 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_16_1(uint8_t *page_cnt)
2016-11-12 23:17:56 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2016-11-12 23:17:56 +08:00
static uint8_t buf[240];
*page_cnt = 1;
return buf;
#endif
2016-11-12 23:17:56 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_16_2(uint8_t *page_cnt)
2016-11-12 23:17:56 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2016-11-12 23:17:56 +08:00
static uint8_t buf[480];
*page_cnt = 2;
return buf;
#endif
2016-11-12 23:17:56 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_16_f(uint8_t *page_cnt)
2016-11-12 23:17:56 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 16;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[3840];
*page_cnt = 16;
2016-11-12 23:17:56 +08:00
return buf;
#endif
2016-11-12 23:17:56 +08:00
}
2017-10-03 00:35:15 +08:00
uint8_t *u8g2_m_20_16_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-10-03 00:35:15 +08:00
static uint8_t buf[160];
*page_cnt = 1;
return buf;
#endif
2017-10-03 00:35:15 +08:00
}
uint8_t *u8g2_m_20_16_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-10-03 00:35:15 +08:00
static uint8_t buf[320];
*page_cnt = 2;
return buf;
#endif
2017-10-03 00:35:15 +08:00
}
uint8_t *u8g2_m_20_16_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 16;
return 0;
#else
2017-10-03 00:35:15 +08:00
static uint8_t buf[2560];
*page_cnt = 16;
return buf;
#endif
2017-10-03 00:35:15 +08:00
}
2021-06-20 05:00:46 +08:00
uint8_t *u8g2_m_24_12_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[192];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_24_12_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[384];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_24_12_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 12;
return 0;
#else
static uint8_t buf[2304];
*page_cnt = 12;
return buf;
#endif
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_20_13_1(uint8_t *page_cnt)
2016-05-26 14:31:29 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[160];
2016-05-26 14:31:29 +08:00
*page_cnt = 1;
return buf;
#endif
2016-05-26 14:31:29 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_20_13_2(uint8_t *page_cnt)
2016-05-26 14:31:29 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[320];
2016-05-26 14:31:29 +08:00
*page_cnt = 2;
return buf;
#endif
2016-05-26 14:31:29 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_20_13_f(uint8_t *page_cnt)
2016-05-26 14:31:29 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 13;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[2080];
*page_cnt = 13;
2016-05-26 14:31:29 +08:00
return buf;
#endif
2016-05-26 14:31:29 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_20_1(uint8_t *page_cnt)
2017-01-07 19:59:30 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[240];
2017-01-07 19:59:30 +08:00
*page_cnt = 1;
return buf;
#endif
2017-01-07 19:59:30 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_20_2(uint8_t *page_cnt)
2017-01-07 19:59:30 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[480];
2017-01-07 19:59:30 +08:00
*page_cnt = 2;
return buf;
#endif
2017-01-07 19:59:30 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_30_20_f(uint8_t *page_cnt)
2017-01-07 19:59:30 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 20;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[4800];
*page_cnt = 20;
2017-01-07 19:59:30 +08:00
return buf;
#endif
2017-01-07 19:59:30 +08:00
}
2020-12-26 02:21:19 +08:00
uint8_t *u8g2_m_32_16_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[256];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_32_16_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[512];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_32_16_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 16;
return 0;
#else
static uint8_t buf[4096];
*page_cnt = 16;
return buf;
#endif
}
2019-04-25 04:05:16 +08:00
uint8_t *u8g2_m_40_30_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2019-04-25 04:05:16 +08:00
static uint8_t buf[320];
*page_cnt = 1;
return buf;
#endif
2019-04-25 04:05:16 +08:00
}
uint8_t *u8g2_m_40_30_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2019-04-25 04:05:16 +08:00
static uint8_t buf[640];
*page_cnt = 2;
return buf;
#endif
2019-04-25 04:05:16 +08:00
}
uint8_t *u8g2_m_40_30_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 30;
return 0;
#else
2019-04-25 04:05:16 +08:00
static uint8_t buf[9600];
*page_cnt = 30;
return buf;
#endif
2019-04-25 04:05:16 +08:00
}
2020-10-28 21:50:30 +08:00
uint8_t *u8g2_m_20_8_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[160];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_20_8_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[320];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_20_8_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 8;
return 0;
#else
static uint8_t buf[1280];
*page_cnt = 8;
return buf;
#endif
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_17_4_1(uint8_t *page_cnt)
2017-01-02 20:27:28 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-01-02 20:27:28 +08:00
static uint8_t buf[136];
*page_cnt = 1;
return buf;
#endif
2017-01-02 20:27:28 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_17_4_2(uint8_t *page_cnt)
2017-01-02 20:27:28 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-01-02 20:27:28 +08:00
static uint8_t buf[272];
*page_cnt = 2;
return buf;
#endif
2017-01-02 20:27:28 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_17_4_f(uint8_t *page_cnt)
2017-01-15 18:50:13 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 4;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[544];
2017-08-08 04:23:35 +08:00
*page_cnt = 4;
return buf;
#endif
2017-08-08 04:23:35 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_17_8_1(uint8_t *page_cnt)
2016-12-09 05:37:18 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[136];
2016-12-09 05:37:18 +08:00
*page_cnt = 1;
return buf;
#endif
2016-12-09 05:37:18 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_17_8_2(uint8_t *page_cnt)
2016-12-09 05:37:18 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[272];
2016-12-09 05:37:18 +08:00
*page_cnt = 2;
return buf;
#endif
2016-12-09 05:37:18 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_17_8_f(uint8_t *page_cnt)
2016-12-09 05:37:18 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 8;
return 0;
#else
2017-09-30 15:06:23 +08:00
static uint8_t buf[1088];
2016-12-09 05:37:18 +08:00
*page_cnt = 8;
return buf;
#endif
2016-12-09 05:37:18 +08:00
}
2023-07-06 16:05:02 +08:00
uint8_t *u8g2_m_17_9_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[136];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_17_9_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[272];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_17_9_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 9;
return 0;
#else
static uint8_t buf[1224];
*page_cnt = 9;
return buf;
#endif
}
uint8_t *u8g2_m_48_17_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[384];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_48_17_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[768];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_48_17_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 17;
return 0;
#else
static uint8_t buf[6528];
*page_cnt = 17;
return buf;
2021-10-21 04:10:33 +08:00
#endif
}
2022-08-13 14:54:57 +08:00
uint8_t *u8g2_m_48_20_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[384];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_48_20_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[768];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_48_20_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 20;
return 0;
#else
static uint8_t buf[7680];
*page_cnt = 20;
return buf;
#endif
}
2023-07-04 05:17:17 +08:00
uint8_t *u8g2_m_42_20_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[336];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_42_20_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[672];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_42_20_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 20;
return 0;
#else
static uint8_t buf[6720];
*page_cnt = 20;
return buf;
#endif
}
2021-10-21 04:10:33 +08:00
uint8_t *u8g2_m_20_12_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[160];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_20_12_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[320];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_20_12_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 12;
return 0;
#else
static uint8_t buf[1920];
*page_cnt = 12;
return buf;
#endif
}
2018-04-06 05:39:29 +08:00
uint8_t *u8g2_m_32_20_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-04-06 05:39:29 +08:00
static uint8_t buf[256];
*page_cnt = 1;
return buf;
#endif
2018-04-06 05:39:29 +08:00
}
uint8_t *u8g2_m_32_20_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-04-06 05:39:29 +08:00
static uint8_t buf[512];
*page_cnt = 2;
return buf;
#endif
2018-04-06 05:39:29 +08:00
}
uint8_t *u8g2_m_32_20_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 20;
return 0;
#else
2018-04-06 05:39:29 +08:00
static uint8_t buf[5120];
*page_cnt = 20;
return buf;
#endif
2018-04-06 05:39:29 +08:00
}
2017-10-07 22:30:31 +08:00
uint8_t *u8g2_m_22_13_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-10-07 22:30:31 +08:00
static uint8_t buf[176];
*page_cnt = 1;
return buf;
#endif
2017-10-07 22:30:31 +08:00
}
uint8_t *u8g2_m_22_13_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-10-07 22:30:31 +08:00
static uint8_t buf[352];
*page_cnt = 2;
return buf;
#endif
2017-10-07 22:30:31 +08:00
}
uint8_t *u8g2_m_22_13_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 13;
return 0;
#else
2017-10-07 22:30:31 +08:00
static uint8_t buf[2288];
*page_cnt = 13;
return buf;
#endif
2017-10-07 22:30:31 +08:00
}
2022-12-30 03:59:21 +08:00
uint8_t *u8g2_m_20_10_1(uint8_t *page_cnt)
2021-07-26 06:06:18 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2022-12-30 03:59:21 +08:00
static uint8_t buf[160];
2021-07-26 06:06:18 +08:00
*page_cnt = 1;
return buf;
#endif
}
2022-12-30 03:59:21 +08:00
uint8_t *u8g2_m_20_10_2(uint8_t *page_cnt)
2021-07-26 06:06:18 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2022-12-30 03:59:21 +08:00
static uint8_t buf[320];
2021-07-26 06:06:18 +08:00
*page_cnt = 2;
return buf;
#endif
}
2022-12-30 03:59:21 +08:00
uint8_t *u8g2_m_20_10_f(uint8_t *page_cnt)
2021-07-26 06:06:18 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
2022-12-30 03:59:21 +08:00
*page_cnt = 10;
2021-07-26 06:06:18 +08:00
return 0;
#else
2022-12-30 03:59:21 +08:00
static uint8_t buf[1600];
*page_cnt = 10;
2021-07-26 06:06:18 +08:00
return buf;
#endif
}
2022-12-30 03:59:21 +08:00
uint8_t *u8g2_m_19_4_1(uint8_t *page_cnt)
2016-12-31 19:14:17 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2022-12-30 03:59:21 +08:00
static uint8_t buf[152];
2016-12-31 19:14:17 +08:00
*page_cnt = 1;
return buf;
#endif
2016-12-31 19:14:17 +08:00
}
2022-12-30 03:59:21 +08:00
uint8_t *u8g2_m_19_4_2(uint8_t *page_cnt)
2016-12-31 19:14:17 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2022-12-30 03:59:21 +08:00
static uint8_t buf[304];
2016-12-31 19:14:17 +08:00
*page_cnt = 2;
return buf;
#endif
2016-12-31 19:14:17 +08:00
}
2022-12-30 03:59:21 +08:00
uint8_t *u8g2_m_19_4_f(uint8_t *page_cnt)
2016-12-31 19:14:17 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
2022-12-30 03:59:21 +08:00
*page_cnt = 4;
return 0;
#else
2022-12-30 03:59:21 +08:00
static uint8_t buf[608];
*page_cnt = 4;
2016-12-31 19:14:17 +08:00
return buf;
#endif
2016-12-31 19:14:17 +08:00
}
2021-03-07 18:18:48 +08:00
uint8_t *u8g2_m_20_17_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[160];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_20_17_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[320];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_20_17_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 17;
return 0;
#else
static uint8_t buf[2720];
*page_cnt = 17;
return buf;
#endif
}
2023-01-03 05:39:25 +08:00
uint8_t *u8g2_m_26_5_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[208];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_26_5_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[416];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_26_5_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 5;
return 0;
#else
static uint8_t buf[1040];
*page_cnt = 5;
return buf;
#endif
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_22_9_1(uint8_t *page_cnt)
2016-12-28 15:02:53 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2016-12-28 15:02:53 +08:00
static uint8_t buf[176];
*page_cnt = 1;
return buf;
#endif
2016-12-28 15:02:53 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_22_9_2(uint8_t *page_cnt)
2016-12-28 15:02:53 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2016-12-28 15:02:53 +08:00
static uint8_t buf[352];
*page_cnt = 2;
return buf;
#endif
2016-12-28 15:02:53 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_22_9_f(uint8_t *page_cnt)
2016-12-28 15:02:53 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 9;
return 0;
#else
2016-12-28 15:02:53 +08:00
static uint8_t buf[1584];
*page_cnt = 9;
return buf;
#endif
2016-12-28 15:02:53 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_25_25_1(uint8_t *page_cnt)
2017-01-22 00:48:43 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-01-22 00:48:43 +08:00
static uint8_t buf[200];
*page_cnt = 1;
return buf;
#endif
2017-01-22 00:48:43 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_25_25_2(uint8_t *page_cnt)
2017-01-22 00:48:43 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-01-22 00:48:43 +08:00
static uint8_t buf[400];
*page_cnt = 2;
return buf;
#endif
2017-01-22 00:48:43 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_25_25_f(uint8_t *page_cnt)
2017-01-22 00:48:43 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 25;
return 0;
#else
2017-01-22 00:48:43 +08:00
static uint8_t buf[5000];
*page_cnt = 25;
return buf;
#endif
2017-01-22 00:48:43 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_37_16_1(uint8_t *page_cnt)
2017-08-14 14:18:59 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-08-14 14:18:59 +08:00
static uint8_t buf[296];
*page_cnt = 1;
return buf;
#endif
2017-08-14 14:18:59 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_37_16_2(uint8_t *page_cnt)
2017-08-14 14:18:59 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-08-14 14:18:59 +08:00
static uint8_t buf[592];
*page_cnt = 2;
return buf;
#endif
2017-08-14 14:18:59 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_37_16_f(uint8_t *page_cnt)
2017-08-14 14:18:59 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 16;
return 0;
#else
2017-08-14 14:18:59 +08:00
static uint8_t buf[4736];
*page_cnt = 16;
return buf;
#endif
2017-08-14 14:18:59 +08:00
}
2023-05-22 04:48:00 +08:00
uint8_t *u8g2_m_40_25_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[320];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_40_25_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[640];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_40_25_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 25;
return 0;
#else
static uint8_t buf[8000];
*page_cnt = 25;
return buf;
#endif
}
2018-10-09 03:19:31 +08:00
uint8_t *u8g2_m_8_1_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-10-09 03:19:31 +08:00
static uint8_t buf[64];
*page_cnt = 1;
return buf;
#endif
2018-10-09 03:19:31 +08:00
}
uint8_t *u8g2_m_8_1_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-10-09 03:19:31 +08:00
static uint8_t buf[128];
*page_cnt = 2;
return buf;
#endif
2018-10-09 03:19:31 +08:00
}
uint8_t *u8g2_m_8_1_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-10-09 03:19:31 +08:00
static uint8_t buf[64];
*page_cnt = 1;
return buf;
#endif
2018-10-09 03:19:31 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_4_1_1(uint8_t *page_cnt)
2017-05-29 04:22:07 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-05-29 04:22:07 +08:00
static uint8_t buf[32];
*page_cnt = 1;
return buf;
#endif
2017-05-29 04:22:07 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_4_1_2(uint8_t *page_cnt)
2017-05-29 04:22:07 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2017-05-29 04:22:07 +08:00
static uint8_t buf[64];
*page_cnt = 2;
return buf;
#endif
2017-05-29 04:22:07 +08:00
}
2017-09-30 15:06:23 +08:00
uint8_t *u8g2_m_4_1_f(uint8_t *page_cnt)
2017-05-29 04:22:07 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2017-05-29 04:22:07 +08:00
static uint8_t buf[32];
*page_cnt = 1;
return buf;
#endif
2017-05-29 04:22:07 +08:00
}
2018-06-14 03:44:40 +08:00
uint8_t *u8g2_m_1_1_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-06-14 03:44:40 +08:00
static uint8_t buf[8];
*page_cnt = 1;
return buf;
#endif
2018-06-14 03:44:40 +08:00
}
uint8_t *u8g2_m_1_1_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2018-06-14 03:44:40 +08:00
static uint8_t buf[16];
*page_cnt = 2;
return buf;
#endif
2018-06-14 03:44:40 +08:00
}
uint8_t *u8g2_m_1_1_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2018-06-14 03:44:40 +08:00
static uint8_t buf[8];
*page_cnt = 1;
return buf;
#endif
2018-06-14 03:44:40 +08:00
}
2022-10-09 17:50:18 +08:00
uint8_t *u8g2_m_20_2_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[160];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_20_2_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[320];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_20_2_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[320];
*page_cnt = 2;
return buf;
#endif
}
2022-04-13 00:00:18 +08:00
uint8_t *u8g2_m_32_7_1(uint8_t *page_cnt)
2016-07-23 17:26:33 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2022-04-13 00:00:18 +08:00
static uint8_t buf[256];
2016-07-23 17:26:33 +08:00
*page_cnt = 1;
return buf;
#endif
2016-07-23 17:26:33 +08:00
}
2022-04-13 00:00:18 +08:00
uint8_t *u8g2_m_32_7_2(uint8_t *page_cnt)
2016-07-23 17:26:33 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2022-04-13 00:00:18 +08:00
static uint8_t buf[512];
2016-07-23 17:26:33 +08:00
*page_cnt = 2;
return buf;
#endif
2016-07-23 17:26:33 +08:00
}
2022-04-13 00:00:18 +08:00
uint8_t *u8g2_m_32_7_f(uint8_t *page_cnt)
2016-07-23 17:26:33 +08:00
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
2022-04-13 00:00:18 +08:00
*page_cnt = 7;
return 0;
#else
2022-04-13 00:00:18 +08:00
static uint8_t buf[1792];
*page_cnt = 7;
2016-07-23 17:26:33 +08:00
return buf;
#endif
2016-07-23 17:26:33 +08:00
}
2023-07-10 23:35:17 +08:00
uint8_t *u8g2_m_32_6_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
static uint8_t buf[256];
*page_cnt = 1;
return buf;
#endif
}
uint8_t *u8g2_m_32_6_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
static uint8_t buf[512];
*page_cnt = 2;
return buf;
#endif
}
uint8_t *u8g2_m_32_6_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 6;
return 0;
#else
static uint8_t buf[1536];
*page_cnt = 6;
return buf;
#endif
}
2022-04-13 00:00:18 +08:00
uint8_t *u8g2_m_48_30_1(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 1;
return 0;
#else
2022-04-13 00:00:18 +08:00
static uint8_t buf[384];
*page_cnt = 1;
return buf;
#endif
}
2022-04-13 00:00:18 +08:00
uint8_t *u8g2_m_48_30_2(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
*page_cnt = 2;
return 0;
#else
2022-04-13 00:00:18 +08:00
static uint8_t buf[768];
*page_cnt = 2;
return buf;
#endif
}
2022-04-13 00:00:18 +08:00
uint8_t *u8g2_m_48_30_f(uint8_t *page_cnt)
{
#ifdef U8G2_USE_DYNAMIC_ALLOC
2022-04-13 00:00:18 +08:00
*page_cnt = 30;
return 0;
#else
2022-04-13 00:00:18 +08:00
static uint8_t buf[11520];
*page_cnt = 30;
return buf;
#endif
}
2015-12-23 05:23:42 +08:00
/* end of generated code */