| 1 | /* u8g2_d_memory.c */ |
| 2 | /* generated code, codebuild, u8g2 project */ |
| 3 | |
| 4 | #include "u8g2.h" |
| 5 | |
| 6 | uint8_t *u8g2_m_16_4_1(uint8_t *page_cnt) |
| 7 | { |
| 8 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 9 | *page_cnt = 1; |
| 10 | return 0; |
| 11 | #else |
| 12 | static uint8_t buf[128]; |
| 13 | *page_cnt = 1; |
| 14 | return buf; |
| 15 | #endif |
| 16 | } |
| 17 | uint8_t *u8g2_m_16_4_2(uint8_t *page_cnt) |
| 18 | { |
| 19 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 20 | *page_cnt = 2; |
| 21 | return 0; |
| 22 | #else |
| 23 | static uint8_t buf[256]; |
| 24 | *page_cnt = 2; |
| 25 | return buf; |
| 26 | #endif |
| 27 | } |
| 28 | uint8_t *u8g2_m_16_4_f(uint8_t *page_cnt) |
| 29 | { |
| 30 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 31 | *page_cnt = 4; |
| 32 | return 0; |
| 33 | #else |
| 34 | static uint8_t buf[512]; |
| 35 | *page_cnt = 4; |
| 36 | return buf; |
| 37 | #endif |
| 38 | } |
| 39 | uint8_t *u8g2_m_16_8_1(uint8_t *page_cnt) |
| 40 | { |
| 41 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 42 | *page_cnt = 1; |
| 43 | return 0; |
| 44 | #else |
| 45 | static uint8_t buf[128]; |
| 46 | *page_cnt = 1; |
| 47 | return buf; |
| 48 | #endif |
| 49 | } |
| 50 | uint8_t *u8g2_m_16_8_2(uint8_t *page_cnt) |
| 51 | { |
| 52 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 53 | *page_cnt = 2; |
| 54 | return 0; |
| 55 | #else |
| 56 | static uint8_t buf[256]; |
| 57 | *page_cnt = 2; |
| 58 | return buf; |
| 59 | #endif |
| 60 | } |
| 61 | uint8_t *u8g2_m_16_8_f(uint8_t *page_cnt) |
| 62 | { |
| 63 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 64 | *page_cnt = 8; |
| 65 | return 0; |
| 66 | #else |
| 67 | static uint8_t buf[1024]; |
| 68 | *page_cnt = 8; |
| 69 | return buf; |
| 70 | #endif |
| 71 | } |
| 72 | uint8_t *u8g2_m_255_2_1(uint8_t *page_cnt) |
| 73 | { |
| 74 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 75 | *page_cnt = 1; |
| 76 | return 0; |
| 77 | #else |
| 78 | static uint8_t buf[2040]; |
| 79 | *page_cnt = 1; |
| 80 | return buf; |
| 81 | #endif |
| 82 | } |
| 83 | uint8_t *u8g2_m_255_2_2(uint8_t *page_cnt) |
| 84 | { |
| 85 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 86 | *page_cnt = 2; |
| 87 | return 0; |
| 88 | #else |
| 89 | static uint8_t buf[4080]; |
| 90 | *page_cnt = 2; |
| 91 | return buf; |
| 92 | #endif |
| 93 | } |
| 94 | uint8_t *u8g2_m_255_2_f(uint8_t *page_cnt) |
| 95 | { |
| 96 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 97 | *page_cnt = 2; |
| 98 | return 0; |
| 99 | #else |
| 100 | static uint8_t buf[4080]; |
| 101 | *page_cnt = 2; |
| 102 | return buf; |
| 103 | #endif |
| 104 | } |
| 105 | uint8_t *u8g2_m_9_5_1(uint8_t *page_cnt) |
| 106 | { |
| 107 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 108 | *page_cnt = 1; |
| 109 | return 0; |
| 110 | #else |
| 111 | static uint8_t buf[72]; |
| 112 | *page_cnt = 1; |
| 113 | return buf; |
| 114 | #endif |
| 115 | } |
| 116 | uint8_t *u8g2_m_9_5_2(uint8_t *page_cnt) |
| 117 | { |
| 118 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 119 | *page_cnt = 2; |
| 120 | return 0; |
| 121 | #else |
| 122 | static uint8_t buf[144]; |
| 123 | *page_cnt = 2; |
| 124 | return buf; |
| 125 | #endif |
| 126 | } |
| 127 | uint8_t *u8g2_m_9_5_f(uint8_t *page_cnt) |
| 128 | { |
| 129 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 130 | *page_cnt = 5; |
| 131 | return 0; |
| 132 | #else |
| 133 | static uint8_t buf[360]; |
| 134 | *page_cnt = 5; |
| 135 | return buf; |
| 136 | #endif |
| 137 | } |
| 138 | uint8_t *u8g2_m_12_5_1(uint8_t *page_cnt) |
| 139 | { |
| 140 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 141 | *page_cnt = 1; |
| 142 | return 0; |
| 143 | #else |
| 144 | static uint8_t buf[96]; |
| 145 | *page_cnt = 1; |
| 146 | return buf; |
| 147 | #endif |
| 148 | } |
| 149 | uint8_t *u8g2_m_12_5_2(uint8_t *page_cnt) |
| 150 | { |
| 151 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 152 | *page_cnt = 2; |
| 153 | return 0; |
| 154 | #else |
| 155 | static uint8_t buf[192]; |
| 156 | *page_cnt = 2; |
| 157 | return buf; |
| 158 | #endif |
| 159 | } |
| 160 | uint8_t *u8g2_m_12_5_f(uint8_t *page_cnt) |
| 161 | { |
| 162 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 163 | *page_cnt = 5; |
| 164 | return 0; |
| 165 | #else |
| 166 | static uint8_t buf[480]; |
| 167 | *page_cnt = 5; |
| 168 | return buf; |
| 169 | #endif |
| 170 | } |
| 171 | uint8_t *u8g2_m_8_4_1(uint8_t *page_cnt) |
| 172 | { |
| 173 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 174 | *page_cnt = 1; |
| 175 | return 0; |
| 176 | #else |
| 177 | static uint8_t buf[64]; |
| 178 | *page_cnt = 1; |
| 179 | return buf; |
| 180 | #endif |
| 181 | } |
| 182 | uint8_t *u8g2_m_8_4_2(uint8_t *page_cnt) |
| 183 | { |
| 184 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 185 | *page_cnt = 2; |
| 186 | return 0; |
| 187 | #else |
| 188 | static uint8_t buf[128]; |
| 189 | *page_cnt = 2; |
| 190 | return buf; |
| 191 | #endif |
| 192 | } |
| 193 | uint8_t *u8g2_m_8_4_f(uint8_t *page_cnt) |
| 194 | { |
| 195 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 196 | *page_cnt = 4; |
| 197 | return 0; |
| 198 | #else |
| 199 | static uint8_t buf[256]; |
| 200 | *page_cnt = 4; |
| 201 | return buf; |
| 202 | #endif |
| 203 | } |
| 204 | uint8_t *u8g2_m_8_16_1(uint8_t *page_cnt) |
| 205 | { |
| 206 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 207 | *page_cnt = 1; |
| 208 | return 0; |
| 209 | #else |
| 210 | static uint8_t buf[64]; |
| 211 | *page_cnt = 1; |
| 212 | return buf; |
| 213 | #endif |
| 214 | } |
| 215 | uint8_t *u8g2_m_8_16_2(uint8_t *page_cnt) |
| 216 | { |
| 217 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 218 | *page_cnt = 2; |
| 219 | return 0; |
| 220 | #else |
| 221 | static uint8_t buf[128]; |
| 222 | *page_cnt = 2; |
| 223 | return buf; |
| 224 | #endif |
| 225 | } |
| 226 | uint8_t *u8g2_m_8_16_f(uint8_t *page_cnt) |
| 227 | { |
| 228 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 229 | *page_cnt = 16; |
| 230 | return 0; |
| 231 | #else |
| 232 | static uint8_t buf[1024]; |
| 233 | *page_cnt = 16; |
| 234 | return buf; |
| 235 | #endif |
| 236 | } |
| 237 | uint8_t *u8g2_m_12_12_1(uint8_t *page_cnt) |
| 238 | { |
| 239 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 240 | *page_cnt = 1; |
| 241 | return 0; |
| 242 | #else |
| 243 | static uint8_t buf[96]; |
| 244 | *page_cnt = 1; |
| 245 | return buf; |
| 246 | #endif |
| 247 | } |
| 248 | uint8_t *u8g2_m_12_12_2(uint8_t *page_cnt) |
| 249 | { |
| 250 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 251 | *page_cnt = 2; |
| 252 | return 0; |
| 253 | #else |
| 254 | static uint8_t buf[192]; |
| 255 | *page_cnt = 2; |
| 256 | return buf; |
| 257 | #endif |
| 258 | } |
| 259 | uint8_t *u8g2_m_12_12_f(uint8_t *page_cnt) |
| 260 | { |
| 261 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 262 | *page_cnt = 12; |
| 263 | return 0; |
| 264 | #else |
| 265 | static uint8_t buf[1152]; |
| 266 | *page_cnt = 12; |
| 267 | return buf; |
| 268 | #endif |
| 269 | } |
| 270 | uint8_t *u8g2_m_10_16_1(uint8_t *page_cnt) |
| 271 | { |
| 272 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 273 | *page_cnt = 1; |
| 274 | return 0; |
| 275 | #else |
| 276 | static uint8_t buf[80]; |
| 277 | *page_cnt = 1; |
| 278 | return buf; |
| 279 | #endif |
| 280 | } |
| 281 | uint8_t *u8g2_m_10_16_2(uint8_t *page_cnt) |
| 282 | { |
| 283 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 284 | *page_cnt = 2; |
| 285 | return 0; |
| 286 | #else |
| 287 | static uint8_t buf[160]; |
| 288 | *page_cnt = 2; |
| 289 | return buf; |
| 290 | #endif |
| 291 | } |
| 292 | uint8_t *u8g2_m_10_16_f(uint8_t *page_cnt) |
| 293 | { |
| 294 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 295 | *page_cnt = 16; |
| 296 | return 0; |
| 297 | #else |
| 298 | static uint8_t buf[1280]; |
| 299 | *page_cnt = 16; |
| 300 | return buf; |
| 301 | #endif |
| 302 | } |
| 303 | uint8_t *u8g2_m_16_16_1(uint8_t *page_cnt) |
| 304 | { |
| 305 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 306 | *page_cnt = 1; |
| 307 | return 0; |
| 308 | #else |
| 309 | static uint8_t buf[128]; |
| 310 | *page_cnt = 1; |
| 311 | return buf; |
| 312 | #endif |
| 313 | } |
| 314 | uint8_t *u8g2_m_16_16_2(uint8_t *page_cnt) |
| 315 | { |
| 316 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 317 | *page_cnt = 2; |
| 318 | return 0; |
| 319 | #else |
| 320 | static uint8_t buf[256]; |
| 321 | *page_cnt = 2; |
| 322 | return buf; |
| 323 | #endif |
| 324 | } |
| 325 | uint8_t *u8g2_m_16_16_f(uint8_t *page_cnt) |
| 326 | { |
| 327 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 328 | *page_cnt = 16; |
| 329 | return 0; |
| 330 | #else |
| 331 | static uint8_t buf[2048]; |
| 332 | *page_cnt = 16; |
| 333 | return buf; |
| 334 | #endif |
| 335 | } |
| 336 | uint8_t *u8g2_m_16_20_1(uint8_t *page_cnt) |
| 337 | { |
| 338 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 339 | *page_cnt = 1; |
| 340 | return 0; |
| 341 | #else |
| 342 | static uint8_t buf[128]; |
| 343 | *page_cnt = 1; |
| 344 | return buf; |
| 345 | #endif |
| 346 | } |
| 347 | uint8_t *u8g2_m_16_20_2(uint8_t *page_cnt) |
| 348 | { |
| 349 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 350 | *page_cnt = 2; |
| 351 | return 0; |
| 352 | #else |
| 353 | static uint8_t buf[256]; |
| 354 | *page_cnt = 2; |
| 355 | return buf; |
| 356 | #endif |
| 357 | } |
| 358 | uint8_t *u8g2_m_16_20_f(uint8_t *page_cnt) |
| 359 | { |
| 360 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 361 | *page_cnt = 20; |
| 362 | return 0; |
| 363 | #else |
| 364 | static uint8_t buf[2560]; |
| 365 | *page_cnt = 20; |
| 366 | return buf; |
| 367 | #endif |
| 368 | } |
| 369 | uint8_t *u8g2_m_20_20_1(uint8_t *page_cnt) |
| 370 | { |
| 371 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 372 | *page_cnt = 1; |
| 373 | return 0; |
| 374 | #else |
| 375 | static uint8_t buf[160]; |
| 376 | *page_cnt = 1; |
| 377 | return buf; |
| 378 | #endif |
| 379 | } |
| 380 | uint8_t *u8g2_m_20_20_2(uint8_t *page_cnt) |
| 381 | { |
| 382 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 383 | *page_cnt = 2; |
| 384 | return 0; |
| 385 | #else |
| 386 | static uint8_t buf[320]; |
| 387 | *page_cnt = 2; |
| 388 | return buf; |
| 389 | #endif |
| 390 | } |
| 391 | uint8_t *u8g2_m_20_20_f(uint8_t *page_cnt) |
| 392 | { |
| 393 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 394 | *page_cnt = 20; |
| 395 | return 0; |
| 396 | #else |
| 397 | static uint8_t buf[3200]; |
| 398 | *page_cnt = 20; |
| 399 | return buf; |
| 400 | #endif |
| 401 | } |
| 402 | uint8_t *u8g2_m_32_8_1(uint8_t *page_cnt) |
| 403 | { |
| 404 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 405 | *page_cnt = 1; |
| 406 | return 0; |
| 407 | #else |
| 408 | static uint8_t buf[256]; |
| 409 | *page_cnt = 1; |
| 410 | return buf; |
| 411 | #endif |
| 412 | } |
| 413 | uint8_t *u8g2_m_32_8_2(uint8_t *page_cnt) |
| 414 | { |
| 415 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 416 | *page_cnt = 2; |
| 417 | return 0; |
| 418 | #else |
| 419 | static uint8_t buf[512]; |
| 420 | *page_cnt = 2; |
| 421 | return buf; |
| 422 | #endif |
| 423 | } |
| 424 | uint8_t *u8g2_m_32_8_f(uint8_t *page_cnt) |
| 425 | { |
| 426 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 427 | *page_cnt = 8; |
| 428 | return 0; |
| 429 | #else |
| 430 | static uint8_t buf[2048]; |
| 431 | *page_cnt = 8; |
| 432 | return buf; |
| 433 | #endif |
| 434 | } |
| 435 | uint8_t *u8g2_m_13_8_1(uint8_t *page_cnt) |
| 436 | { |
| 437 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 438 | *page_cnt = 1; |
| 439 | return 0; |
| 440 | #else |
| 441 | static uint8_t buf[104]; |
| 442 | *page_cnt = 1; |
| 443 | return buf; |
| 444 | #endif |
| 445 | } |
| 446 | uint8_t *u8g2_m_13_8_2(uint8_t *page_cnt) |
| 447 | { |
| 448 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 449 | *page_cnt = 2; |
| 450 | return 0; |
| 451 | #else |
| 452 | static uint8_t buf[208]; |
| 453 | *page_cnt = 2; |
| 454 | return buf; |
| 455 | #endif |
| 456 | } |
| 457 | uint8_t *u8g2_m_13_8_f(uint8_t *page_cnt) |
| 458 | { |
| 459 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 460 | *page_cnt = 8; |
| 461 | return 0; |
| 462 | #else |
| 463 | static uint8_t buf[832]; |
| 464 | *page_cnt = 8; |
| 465 | return buf; |
| 466 | #endif |
| 467 | } |
| 468 | uint8_t *u8g2_m_8_6_1(uint8_t *page_cnt) |
| 469 | { |
| 470 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 471 | *page_cnt = 1; |
| 472 | return 0; |
| 473 | #else |
| 474 | static uint8_t buf[64]; |
| 475 | *page_cnt = 1; |
| 476 | return buf; |
| 477 | #endif |
| 478 | } |
| 479 | uint8_t *u8g2_m_8_6_2(uint8_t *page_cnt) |
| 480 | { |
| 481 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 482 | *page_cnt = 2; |
| 483 | return 0; |
| 484 | #else |
| 485 | static uint8_t buf[128]; |
| 486 | *page_cnt = 2; |
| 487 | return buf; |
| 488 | #endif |
| 489 | } |
| 490 | uint8_t *u8g2_m_8_6_f(uint8_t *page_cnt) |
| 491 | { |
| 492 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 493 | *page_cnt = 6; |
| 494 | return 0; |
| 495 | #else |
| 496 | static uint8_t buf[384]; |
| 497 | *page_cnt = 6; |
| 498 | return buf; |
| 499 | #endif |
| 500 | } |
| 501 | uint8_t *u8g2_m_6_8_1(uint8_t *page_cnt) |
| 502 | { |
| 503 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 504 | *page_cnt = 1; |
| 505 | return 0; |
| 506 | #else |
| 507 | static uint8_t buf[48]; |
| 508 | *page_cnt = 1; |
| 509 | return buf; |
| 510 | #endif |
| 511 | } |
| 512 | uint8_t *u8g2_m_6_8_2(uint8_t *page_cnt) |
| 513 | { |
| 514 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 515 | *page_cnt = 2; |
| 516 | return 0; |
| 517 | #else |
| 518 | static uint8_t buf[96]; |
| 519 | *page_cnt = 2; |
| 520 | return buf; |
| 521 | #endif |
| 522 | } |
| 523 | uint8_t *u8g2_m_6_8_f(uint8_t *page_cnt) |
| 524 | { |
| 525 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 526 | *page_cnt = 8; |
| 527 | return 0; |
| 528 | #else |
| 529 | static uint8_t buf[384]; |
| 530 | *page_cnt = 8; |
| 531 | return buf; |
| 532 | #endif |
| 533 | } |
| 534 | uint8_t *u8g2_m_12_2_1(uint8_t *page_cnt) |
| 535 | { |
| 536 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 537 | *page_cnt = 1; |
| 538 | return 0; |
| 539 | #else |
| 540 | static uint8_t buf[96]; |
| 541 | *page_cnt = 1; |
| 542 | return buf; |
| 543 | #endif |
| 544 | } |
| 545 | uint8_t *u8g2_m_12_2_2(uint8_t *page_cnt) |
| 546 | { |
| 547 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 548 | *page_cnt = 2; |
| 549 | return 0; |
| 550 | #else |
| 551 | static uint8_t buf[192]; |
| 552 | *page_cnt = 2; |
| 553 | return buf; |
| 554 | #endif |
| 555 | } |
| 556 | uint8_t *u8g2_m_12_2_f(uint8_t *page_cnt) |
| 557 | { |
| 558 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 559 | *page_cnt = 2; |
| 560 | return 0; |
| 561 | #else |
| 562 | static uint8_t buf[192]; |
| 563 | *page_cnt = 2; |
| 564 | return buf; |
| 565 | #endif |
| 566 | } |
| 567 | uint8_t *u8g2_m_15_4_1(uint8_t *page_cnt) |
| 568 | { |
| 569 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 570 | *page_cnt = 1; |
| 571 | return 0; |
| 572 | #else |
| 573 | static uint8_t buf[120]; |
| 574 | *page_cnt = 1; |
| 575 | return buf; |
| 576 | #endif |
| 577 | } |
| 578 | uint8_t *u8g2_m_15_4_2(uint8_t *page_cnt) |
| 579 | { |
| 580 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 581 | *page_cnt = 2; |
| 582 | return 0; |
| 583 | #else |
| 584 | static uint8_t buf[240]; |
| 585 | *page_cnt = 2; |
| 586 | return buf; |
| 587 | #endif |
| 588 | } |
| 589 | uint8_t *u8g2_m_15_4_f(uint8_t *page_cnt) |
| 590 | { |
| 591 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 592 | *page_cnt = 4; |
| 593 | return 0; |
| 594 | #else |
| 595 | static uint8_t buf[480]; |
| 596 | *page_cnt = 4; |
| 597 | return buf; |
| 598 | #endif |
| 599 | } |
| 600 | uint8_t *u8g2_m_12_4_1(uint8_t *page_cnt) |
| 601 | { |
| 602 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 603 | *page_cnt = 1; |
| 604 | return 0; |
| 605 | #else |
| 606 | static uint8_t buf[96]; |
| 607 | *page_cnt = 1; |
| 608 | return buf; |
| 609 | #endif |
| 610 | } |
| 611 | uint8_t *u8g2_m_12_4_2(uint8_t *page_cnt) |
| 612 | { |
| 613 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 614 | *page_cnt = 2; |
| 615 | return 0; |
| 616 | #else |
| 617 | static uint8_t buf[192]; |
| 618 | *page_cnt = 2; |
| 619 | return buf; |
| 620 | #endif |
| 621 | } |
| 622 | uint8_t *u8g2_m_12_4_f(uint8_t *page_cnt) |
| 623 | { |
| 624 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 625 | *page_cnt = 4; |
| 626 | return 0; |
| 627 | #else |
| 628 | static uint8_t buf[384]; |
| 629 | *page_cnt = 4; |
| 630 | return buf; |
| 631 | #endif |
| 632 | } |
| 633 | uint8_t *u8g2_m_16_12_1(uint8_t *page_cnt) |
| 634 | { |
| 635 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 636 | *page_cnt = 1; |
| 637 | return 0; |
| 638 | #else |
| 639 | static uint8_t buf[128]; |
| 640 | *page_cnt = 1; |
| 641 | return buf; |
| 642 | #endif |
| 643 | } |
| 644 | uint8_t *u8g2_m_16_12_2(uint8_t *page_cnt) |
| 645 | { |
| 646 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 647 | *page_cnt = 2; |
| 648 | return 0; |
| 649 | #else |
| 650 | static uint8_t buf[256]; |
| 651 | *page_cnt = 2; |
| 652 | return buf; |
| 653 | #endif |
| 654 | } |
| 655 | uint8_t *u8g2_m_16_12_f(uint8_t *page_cnt) |
| 656 | { |
| 657 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 658 | *page_cnt = 12; |
| 659 | return 0; |
| 660 | #else |
| 661 | static uint8_t buf[1536]; |
| 662 | *page_cnt = 12; |
| 663 | return buf; |
| 664 | #endif |
| 665 | } |
| 666 | uint8_t *u8g2_m_32_4_1(uint8_t *page_cnt) |
| 667 | { |
| 668 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 669 | *page_cnt = 1; |
| 670 | return 0; |
| 671 | #else |
| 672 | static uint8_t buf[256]; |
| 673 | *page_cnt = 1; |
| 674 | return buf; |
| 675 | #endif |
| 676 | } |
| 677 | uint8_t *u8g2_m_32_4_2(uint8_t *page_cnt) |
| 678 | { |
| 679 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 680 | *page_cnt = 2; |
| 681 | return 0; |
| 682 | #else |
| 683 | static uint8_t buf[512]; |
| 684 | *page_cnt = 2; |
| 685 | return buf; |
| 686 | #endif |
| 687 | } |
| 688 | uint8_t *u8g2_m_32_4_f(uint8_t *page_cnt) |
| 689 | { |
| 690 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 691 | *page_cnt = 4; |
| 692 | return 0; |
| 693 | #else |
| 694 | static uint8_t buf[1024]; |
| 695 | *page_cnt = 4; |
| 696 | return buf; |
| 697 | #endif |
| 698 | } |
| 699 | uint8_t *u8g2_m_12_8_1(uint8_t *page_cnt) |
| 700 | { |
| 701 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 702 | *page_cnt = 1; |
| 703 | return 0; |
| 704 | #else |
| 705 | static uint8_t buf[96]; |
| 706 | *page_cnt = 1; |
| 707 | return buf; |
| 708 | #endif |
| 709 | } |
| 710 | uint8_t *u8g2_m_12_8_2(uint8_t *page_cnt) |
| 711 | { |
| 712 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 713 | *page_cnt = 2; |
| 714 | return 0; |
| 715 | #else |
| 716 | static uint8_t buf[192]; |
| 717 | *page_cnt = 2; |
| 718 | return buf; |
| 719 | #endif |
| 720 | } |
| 721 | uint8_t *u8g2_m_12_8_f(uint8_t *page_cnt) |
| 722 | { |
| 723 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 724 | *page_cnt = 8; |
| 725 | return 0; |
| 726 | #else |
| 727 | static uint8_t buf[768]; |
| 728 | *page_cnt = 8; |
| 729 | return buf; |
| 730 | #endif |
| 731 | } |
| 732 | uint8_t *u8g2_m_16_5_1(uint8_t *page_cnt) |
| 733 | { |
| 734 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 735 | *page_cnt = 1; |
| 736 | return 0; |
| 737 | #else |
| 738 | static uint8_t buf[128]; |
| 739 | *page_cnt = 1; |
| 740 | return buf; |
| 741 | #endif |
| 742 | } |
| 743 | uint8_t *u8g2_m_16_5_2(uint8_t *page_cnt) |
| 744 | { |
| 745 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 746 | *page_cnt = 2; |
| 747 | return 0; |
| 748 | #else |
| 749 | static uint8_t buf[256]; |
| 750 | *page_cnt = 2; |
| 751 | return buf; |
| 752 | #endif |
| 753 | } |
| 754 | uint8_t *u8g2_m_16_5_f(uint8_t *page_cnt) |
| 755 | { |
| 756 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 757 | *page_cnt = 5; |
| 758 | return 0; |
| 759 | #else |
| 760 | static uint8_t buf[640]; |
| 761 | *page_cnt = 5; |
| 762 | return buf; |
| 763 | #endif |
| 764 | } |
| 765 | uint8_t *u8g2_m_18_4_1(uint8_t *page_cnt) |
| 766 | { |
| 767 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 768 | *page_cnt = 1; |
| 769 | return 0; |
| 770 | #else |
| 771 | static uint8_t buf[144]; |
| 772 | *page_cnt = 1; |
| 773 | return buf; |
| 774 | #endif |
| 775 | } |
| 776 | uint8_t *u8g2_m_18_4_2(uint8_t *page_cnt) |
| 777 | { |
| 778 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 779 | *page_cnt = 2; |
| 780 | return 0; |
| 781 | #else |
| 782 | static uint8_t buf[288]; |
| 783 | *page_cnt = 2; |
| 784 | return buf; |
| 785 | #endif |
| 786 | } |
| 787 | uint8_t *u8g2_m_18_4_f(uint8_t *page_cnt) |
| 788 | { |
| 789 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 790 | *page_cnt = 4; |
| 791 | return 0; |
| 792 | #else |
| 793 | static uint8_t buf[576]; |
| 794 | *page_cnt = 4; |
| 795 | return buf; |
| 796 | #endif |
| 797 | } |
| 798 | uint8_t *u8g2_m_20_4_1(uint8_t *page_cnt) |
| 799 | { |
| 800 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 801 | *page_cnt = 1; |
| 802 | return 0; |
| 803 | #else |
| 804 | static uint8_t buf[160]; |
| 805 | *page_cnt = 1; |
| 806 | return buf; |
| 807 | #endif |
| 808 | } |
| 809 | uint8_t *u8g2_m_20_4_2(uint8_t *page_cnt) |
| 810 | { |
| 811 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 812 | *page_cnt = 2; |
| 813 | return 0; |
| 814 | #else |
| 815 | static uint8_t buf[320]; |
| 816 | *page_cnt = 2; |
| 817 | return buf; |
| 818 | #endif |
| 819 | } |
| 820 | uint8_t *u8g2_m_20_4_f(uint8_t *page_cnt) |
| 821 | { |
| 822 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 823 | *page_cnt = 4; |
| 824 | return 0; |
| 825 | #else |
| 826 | static uint8_t buf[640]; |
| 827 | *page_cnt = 4; |
| 828 | return buf; |
| 829 | #endif |
| 830 | } |
| 831 | uint8_t *u8g2_m_24_4_1(uint8_t *page_cnt) |
| 832 | { |
| 833 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 834 | *page_cnt = 1; |
| 835 | return 0; |
| 836 | #else |
| 837 | static uint8_t buf[192]; |
| 838 | *page_cnt = 1; |
| 839 | return buf; |
| 840 | #endif |
| 841 | } |
| 842 | uint8_t *u8g2_m_24_4_2(uint8_t *page_cnt) |
| 843 | { |
| 844 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 845 | *page_cnt = 2; |
| 846 | return 0; |
| 847 | #else |
| 848 | static uint8_t buf[384]; |
| 849 | *page_cnt = 2; |
| 850 | return buf; |
| 851 | #endif |
| 852 | } |
| 853 | uint8_t *u8g2_m_24_4_f(uint8_t *page_cnt) |
| 854 | { |
| 855 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 856 | *page_cnt = 4; |
| 857 | return 0; |
| 858 | #else |
| 859 | static uint8_t buf[768]; |
| 860 | *page_cnt = 4; |
| 861 | return buf; |
| 862 | #endif |
| 863 | } |
| 864 | uint8_t *u8g2_m_50_30_1(uint8_t *page_cnt) |
| 865 | { |
| 866 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 867 | *page_cnt = 1; |
| 868 | return 0; |
| 869 | #else |
| 870 | static uint8_t buf[400]; |
| 871 | *page_cnt = 1; |
| 872 | return buf; |
| 873 | #endif |
| 874 | } |
| 875 | uint8_t *u8g2_m_50_30_2(uint8_t *page_cnt) |
| 876 | { |
| 877 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 878 | *page_cnt = 2; |
| 879 | return 0; |
| 880 | #else |
| 881 | static uint8_t buf[800]; |
| 882 | *page_cnt = 2; |
| 883 | return buf; |
| 884 | #endif |
| 885 | } |
| 886 | uint8_t *u8g2_m_50_30_f(uint8_t *page_cnt) |
| 887 | { |
| 888 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 889 | *page_cnt = 30; |
| 890 | return 0; |
| 891 | #else |
| 892 | static uint8_t buf[12000]; |
| 893 | *page_cnt = 30; |
| 894 | return buf; |
| 895 | #endif |
| 896 | } |
| 897 | uint8_t *u8g2_m_18_21_1(uint8_t *page_cnt) |
| 898 | { |
| 899 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 900 | *page_cnt = 1; |
| 901 | return 0; |
| 902 | #else |
| 903 | static uint8_t buf[144]; |
| 904 | *page_cnt = 1; |
| 905 | return buf; |
| 906 | #endif |
| 907 | } |
| 908 | uint8_t *u8g2_m_18_21_2(uint8_t *page_cnt) |
| 909 | { |
| 910 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 911 | *page_cnt = 2; |
| 912 | return 0; |
| 913 | #else |
| 914 | static uint8_t buf[288]; |
| 915 | *page_cnt = 2; |
| 916 | return buf; |
| 917 | #endif |
| 918 | } |
| 919 | uint8_t *u8g2_m_18_21_f(uint8_t *page_cnt) |
| 920 | { |
| 921 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 922 | *page_cnt = 21; |
| 923 | return 0; |
| 924 | #else |
| 925 | static uint8_t buf[3024]; |
| 926 | *page_cnt = 21; |
| 927 | return buf; |
| 928 | #endif |
| 929 | } |
| 930 | uint8_t *u8g2_m_20_9_1(uint8_t *page_cnt) |
| 931 | { |
| 932 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 933 | *page_cnt = 1; |
| 934 | return 0; |
| 935 | #else |
| 936 | static uint8_t buf[160]; |
| 937 | *page_cnt = 1; |
| 938 | return buf; |
| 939 | #endif |
| 940 | } |
| 941 | uint8_t *u8g2_m_20_9_2(uint8_t *page_cnt) |
| 942 | { |
| 943 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 944 | *page_cnt = 2; |
| 945 | return 0; |
| 946 | #else |
| 947 | static uint8_t buf[320]; |
| 948 | *page_cnt = 2; |
| 949 | return buf; |
| 950 | #endif |
| 951 | } |
| 952 | uint8_t *u8g2_m_20_9_f(uint8_t *page_cnt) |
| 953 | { |
| 954 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 955 | *page_cnt = 9; |
| 956 | return 0; |
| 957 | #else |
| 958 | static uint8_t buf[1440]; |
| 959 | *page_cnt = 9; |
| 960 | return buf; |
| 961 | #endif |
| 962 | } |
| 963 | uint8_t *u8g2_m_11_6_1(uint8_t *page_cnt) |
| 964 | { |
| 965 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 966 | *page_cnt = 1; |
| 967 | return 0; |
| 968 | #else |
| 969 | static uint8_t buf[88]; |
| 970 | *page_cnt = 1; |
| 971 | return buf; |
| 972 | #endif |
| 973 | } |
| 974 | uint8_t *u8g2_m_11_6_2(uint8_t *page_cnt) |
| 975 | { |
| 976 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 977 | *page_cnt = 2; |
| 978 | return 0; |
| 979 | #else |
| 980 | static uint8_t buf[176]; |
| 981 | *page_cnt = 2; |
| 982 | return buf; |
| 983 | #endif |
| 984 | } |
| 985 | uint8_t *u8g2_m_11_6_f(uint8_t *page_cnt) |
| 986 | { |
| 987 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 988 | *page_cnt = 6; |
| 989 | return 0; |
| 990 | #else |
| 991 | static uint8_t buf[528]; |
| 992 | *page_cnt = 6; |
| 993 | return buf; |
| 994 | #endif |
| 995 | } |
| 996 | uint8_t *u8g2_m_12_9_1(uint8_t *page_cnt) |
| 997 | { |
| 998 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 999 | *page_cnt = 1; |
| 1000 | return 0; |
| 1001 | #else |
| 1002 | static uint8_t buf[96]; |
| 1003 | *page_cnt = 1; |
| 1004 | return buf; |
| 1005 | #endif |
| 1006 | } |
| 1007 | uint8_t *u8g2_m_12_9_2(uint8_t *page_cnt) |
| 1008 | { |
| 1009 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1010 | *page_cnt = 2; |
| 1011 | return 0; |
| 1012 | #else |
| 1013 | static uint8_t buf[192]; |
| 1014 | *page_cnt = 2; |
| 1015 | return buf; |
| 1016 | #endif |
| 1017 | } |
| 1018 | uint8_t *u8g2_m_12_9_f(uint8_t *page_cnt) |
| 1019 | { |
| 1020 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1021 | *page_cnt = 9; |
| 1022 | return 0; |
| 1023 | #else |
| 1024 | static uint8_t buf[864]; |
| 1025 | *page_cnt = 9; |
| 1026 | return buf; |
| 1027 | #endif |
| 1028 | } |
| 1029 | uint8_t *u8g2_m_24_8_1(uint8_t *page_cnt) |
| 1030 | { |
| 1031 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1032 | *page_cnt = 1; |
| 1033 | return 0; |
| 1034 | #else |
| 1035 | static uint8_t buf[192]; |
| 1036 | *page_cnt = 1; |
| 1037 | return buf; |
| 1038 | #endif |
| 1039 | } |
| 1040 | uint8_t *u8g2_m_24_8_2(uint8_t *page_cnt) |
| 1041 | { |
| 1042 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1043 | *page_cnt = 2; |
| 1044 | return 0; |
| 1045 | #else |
| 1046 | static uint8_t buf[384]; |
| 1047 | *page_cnt = 2; |
| 1048 | return buf; |
| 1049 | #endif |
| 1050 | } |
| 1051 | uint8_t *u8g2_m_24_8_f(uint8_t *page_cnt) |
| 1052 | { |
| 1053 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1054 | *page_cnt = 8; |
| 1055 | return 0; |
| 1056 | #else |
| 1057 | static uint8_t buf[1536]; |
| 1058 | *page_cnt = 8; |
| 1059 | return buf; |
| 1060 | #endif |
| 1061 | } |
| 1062 | uint8_t *u8g2_m_30_8_1(uint8_t *page_cnt) |
| 1063 | { |
| 1064 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1065 | *page_cnt = 1; |
| 1066 | return 0; |
| 1067 | #else |
| 1068 | static uint8_t buf[240]; |
| 1069 | *page_cnt = 1; |
| 1070 | return buf; |
| 1071 | #endif |
| 1072 | } |
| 1073 | uint8_t *u8g2_m_30_8_2(uint8_t *page_cnt) |
| 1074 | { |
| 1075 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1076 | *page_cnt = 2; |
| 1077 | return 0; |
| 1078 | #else |
| 1079 | static uint8_t buf[480]; |
| 1080 | *page_cnt = 2; |
| 1081 | return buf; |
| 1082 | #endif |
| 1083 | } |
| 1084 | uint8_t *u8g2_m_30_8_f(uint8_t *page_cnt) |
| 1085 | { |
| 1086 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1087 | *page_cnt = 8; |
| 1088 | return 0; |
| 1089 | #else |
| 1090 | static uint8_t buf[1920]; |
| 1091 | *page_cnt = 8; |
| 1092 | return buf; |
| 1093 | #endif |
| 1094 | } |
| 1095 | uint8_t *u8g2_m_30_15_1(uint8_t *page_cnt) |
| 1096 | { |
| 1097 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1098 | *page_cnt = 1; |
| 1099 | return 0; |
| 1100 | #else |
| 1101 | static uint8_t buf[240]; |
| 1102 | *page_cnt = 1; |
| 1103 | return buf; |
| 1104 | #endif |
| 1105 | } |
| 1106 | uint8_t *u8g2_m_30_15_2(uint8_t *page_cnt) |
| 1107 | { |
| 1108 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1109 | *page_cnt = 2; |
| 1110 | return 0; |
| 1111 | #else |
| 1112 | static uint8_t buf[480]; |
| 1113 | *page_cnt = 2; |
| 1114 | return buf; |
| 1115 | #endif |
| 1116 | } |
| 1117 | uint8_t *u8g2_m_30_15_f(uint8_t *page_cnt) |
| 1118 | { |
| 1119 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1120 | *page_cnt = 15; |
| 1121 | return 0; |
| 1122 | #else |
| 1123 | static uint8_t buf[3600]; |
| 1124 | *page_cnt = 15; |
| 1125 | return buf; |
| 1126 | #endif |
| 1127 | } |
| 1128 | uint8_t *u8g2_m_30_16_1(uint8_t *page_cnt) |
| 1129 | { |
| 1130 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1131 | *page_cnt = 1; |
| 1132 | return 0; |
| 1133 | #else |
| 1134 | static uint8_t buf[240]; |
| 1135 | *page_cnt = 1; |
| 1136 | return buf; |
| 1137 | #endif |
| 1138 | } |
| 1139 | uint8_t *u8g2_m_30_16_2(uint8_t *page_cnt) |
| 1140 | { |
| 1141 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1142 | *page_cnt = 2; |
| 1143 | return 0; |
| 1144 | #else |
| 1145 | static uint8_t buf[480]; |
| 1146 | *page_cnt = 2; |
| 1147 | return buf; |
| 1148 | #endif |
| 1149 | } |
| 1150 | uint8_t *u8g2_m_30_16_f(uint8_t *page_cnt) |
| 1151 | { |
| 1152 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1153 | *page_cnt = 16; |
| 1154 | return 0; |
| 1155 | #else |
| 1156 | static uint8_t buf[3840]; |
| 1157 | *page_cnt = 16; |
| 1158 | return buf; |
| 1159 | #endif |
| 1160 | } |
| 1161 | uint8_t *u8g2_m_32_16_1(uint8_t *page_cnt) |
| 1162 | { |
| 1163 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1164 | *page_cnt = 1; |
| 1165 | return 0; |
| 1166 | #else |
| 1167 | static uint8_t buf[256]; |
| 1168 | *page_cnt = 1; |
| 1169 | return buf; |
| 1170 | #endif |
| 1171 | } |
| 1172 | uint8_t *u8g2_m_32_16_2(uint8_t *page_cnt) |
| 1173 | { |
| 1174 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1175 | *page_cnt = 2; |
| 1176 | return 0; |
| 1177 | #else |
| 1178 | static uint8_t buf[512]; |
| 1179 | *page_cnt = 2; |
| 1180 | return buf; |
| 1181 | #endif |
| 1182 | } |
| 1183 | uint8_t *u8g2_m_32_16_f(uint8_t *page_cnt) |
| 1184 | { |
| 1185 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1186 | *page_cnt = 16; |
| 1187 | return 0; |
| 1188 | #else |
| 1189 | static uint8_t buf[4096]; |
| 1190 | *page_cnt = 16; |
| 1191 | return buf; |
| 1192 | #endif |
| 1193 | } |
| 1194 | uint8_t *u8g2_m_20_16_1(uint8_t *page_cnt) |
| 1195 | { |
| 1196 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1197 | *page_cnt = 1; |
| 1198 | return 0; |
| 1199 | #else |
| 1200 | static uint8_t buf[160]; |
| 1201 | *page_cnt = 1; |
| 1202 | return buf; |
| 1203 | #endif |
| 1204 | } |
| 1205 | uint8_t *u8g2_m_20_16_2(uint8_t *page_cnt) |
| 1206 | { |
| 1207 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1208 | *page_cnt = 2; |
| 1209 | return 0; |
| 1210 | #else |
| 1211 | static uint8_t buf[320]; |
| 1212 | *page_cnt = 2; |
| 1213 | return buf; |
| 1214 | #endif |
| 1215 | } |
| 1216 | uint8_t *u8g2_m_20_16_f(uint8_t *page_cnt) |
| 1217 | { |
| 1218 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1219 | *page_cnt = 16; |
| 1220 | return 0; |
| 1221 | #else |
| 1222 | static uint8_t buf[2560]; |
| 1223 | *page_cnt = 16; |
| 1224 | return buf; |
| 1225 | #endif |
| 1226 | } |
| 1227 | uint8_t *u8g2_m_24_12_1(uint8_t *page_cnt) |
| 1228 | { |
| 1229 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1230 | *page_cnt = 1; |
| 1231 | return 0; |
| 1232 | #else |
| 1233 | static uint8_t buf[192]; |
| 1234 | *page_cnt = 1; |
| 1235 | return buf; |
| 1236 | #endif |
| 1237 | } |
| 1238 | uint8_t *u8g2_m_24_12_2(uint8_t *page_cnt) |
| 1239 | { |
| 1240 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1241 | *page_cnt = 2; |
| 1242 | return 0; |
| 1243 | #else |
| 1244 | static uint8_t buf[384]; |
| 1245 | *page_cnt = 2; |
| 1246 | return buf; |
| 1247 | #endif |
| 1248 | } |
| 1249 | uint8_t *u8g2_m_24_12_f(uint8_t *page_cnt) |
| 1250 | { |
| 1251 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1252 | *page_cnt = 12; |
| 1253 | return 0; |
| 1254 | #else |
| 1255 | static uint8_t buf[2304]; |
| 1256 | *page_cnt = 12; |
| 1257 | return buf; |
| 1258 | #endif |
| 1259 | } |
| 1260 | uint8_t *u8g2_m_20_13_1(uint8_t *page_cnt) |
| 1261 | { |
| 1262 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1263 | *page_cnt = 1; |
| 1264 | return 0; |
| 1265 | #else |
| 1266 | static uint8_t buf[160]; |
| 1267 | *page_cnt = 1; |
| 1268 | return buf; |
| 1269 | #endif |
| 1270 | } |
| 1271 | uint8_t *u8g2_m_20_13_2(uint8_t *page_cnt) |
| 1272 | { |
| 1273 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1274 | *page_cnt = 2; |
| 1275 | return 0; |
| 1276 | #else |
| 1277 | static uint8_t buf[320]; |
| 1278 | *page_cnt = 2; |
| 1279 | return buf; |
| 1280 | #endif |
| 1281 | } |
| 1282 | uint8_t *u8g2_m_20_13_f(uint8_t *page_cnt) |
| 1283 | { |
| 1284 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1285 | *page_cnt = 13; |
| 1286 | return 0; |
| 1287 | #else |
| 1288 | static uint8_t buf[2080]; |
| 1289 | *page_cnt = 13; |
| 1290 | return buf; |
| 1291 | #endif |
| 1292 | } |
| 1293 | uint8_t *u8g2_m_30_20_1(uint8_t *page_cnt) |
| 1294 | { |
| 1295 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1296 | *page_cnt = 1; |
| 1297 | return 0; |
| 1298 | #else |
| 1299 | static uint8_t buf[240]; |
| 1300 | *page_cnt = 1; |
| 1301 | return buf; |
| 1302 | #endif |
| 1303 | } |
| 1304 | uint8_t *u8g2_m_30_20_2(uint8_t *page_cnt) |
| 1305 | { |
| 1306 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1307 | *page_cnt = 2; |
| 1308 | return 0; |
| 1309 | #else |
| 1310 | static uint8_t buf[480]; |
| 1311 | *page_cnt = 2; |
| 1312 | return buf; |
| 1313 | #endif |
| 1314 | } |
| 1315 | uint8_t *u8g2_m_30_20_f(uint8_t *page_cnt) |
| 1316 | { |
| 1317 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1318 | *page_cnt = 20; |
| 1319 | return 0; |
| 1320 | #else |
| 1321 | static uint8_t buf[4800]; |
| 1322 | *page_cnt = 20; |
| 1323 | return buf; |
| 1324 | #endif |
| 1325 | } |
| 1326 | uint8_t *u8g2_m_40_30_1(uint8_t *page_cnt) |
| 1327 | { |
| 1328 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1329 | *page_cnt = 1; |
| 1330 | return 0; |
| 1331 | #else |
| 1332 | static uint8_t buf[320]; |
| 1333 | *page_cnt = 1; |
| 1334 | return buf; |
| 1335 | #endif |
| 1336 | } |
| 1337 | uint8_t *u8g2_m_40_30_2(uint8_t *page_cnt) |
| 1338 | { |
| 1339 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1340 | *page_cnt = 2; |
| 1341 | return 0; |
| 1342 | #else |
| 1343 | static uint8_t buf[640]; |
| 1344 | *page_cnt = 2; |
| 1345 | return buf; |
| 1346 | #endif |
| 1347 | } |
| 1348 | uint8_t *u8g2_m_40_30_f(uint8_t *page_cnt) |
| 1349 | { |
| 1350 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1351 | *page_cnt = 30; |
| 1352 | return 0; |
| 1353 | #else |
| 1354 | static uint8_t buf[9600]; |
| 1355 | *page_cnt = 30; |
| 1356 | return buf; |
| 1357 | #endif |
| 1358 | } |
| 1359 | uint8_t *u8g2_m_80_40_1(uint8_t *page_cnt) |
| 1360 | { |
| 1361 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1362 | *page_cnt = 1; |
| 1363 | return 0; |
| 1364 | #else |
| 1365 | static uint8_t buf[640]; |
| 1366 | *page_cnt = 1; |
| 1367 | return buf; |
| 1368 | #endif |
| 1369 | } |
| 1370 | uint8_t *u8g2_m_80_40_2(uint8_t *page_cnt) |
| 1371 | { |
| 1372 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1373 | *page_cnt = 2; |
| 1374 | return 0; |
| 1375 | #else |
| 1376 | static uint8_t buf[1280]; |
| 1377 | *page_cnt = 2; |
| 1378 | return buf; |
| 1379 | #endif |
| 1380 | } |
| 1381 | uint8_t *u8g2_m_80_40_f(uint8_t *page_cnt) |
| 1382 | { |
| 1383 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1384 | *page_cnt = 40; |
| 1385 | return 0; |
| 1386 | #else |
| 1387 | static uint8_t buf[25600]; |
| 1388 | *page_cnt = 40; |
| 1389 | return buf; |
| 1390 | #endif |
| 1391 | } |
| 1392 | uint8_t *u8g2_m_20_8_1(uint8_t *page_cnt) |
| 1393 | { |
| 1394 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1395 | *page_cnt = 1; |
| 1396 | return 0; |
| 1397 | #else |
| 1398 | static uint8_t buf[160]; |
| 1399 | *page_cnt = 1; |
| 1400 | return buf; |
| 1401 | #endif |
| 1402 | } |
| 1403 | uint8_t *u8g2_m_20_8_2(uint8_t *page_cnt) |
| 1404 | { |
| 1405 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1406 | *page_cnt = 2; |
| 1407 | return 0; |
| 1408 | #else |
| 1409 | static uint8_t buf[320]; |
| 1410 | *page_cnt = 2; |
| 1411 | return buf; |
| 1412 | #endif |
| 1413 | } |
| 1414 | uint8_t *u8g2_m_20_8_f(uint8_t *page_cnt) |
| 1415 | { |
| 1416 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1417 | *page_cnt = 8; |
| 1418 | return 0; |
| 1419 | #else |
| 1420 | static uint8_t buf[1280]; |
| 1421 | *page_cnt = 8; |
| 1422 | return buf; |
| 1423 | #endif |
| 1424 | } |
| 1425 | uint8_t *u8g2_m_17_4_1(uint8_t *page_cnt) |
| 1426 | { |
| 1427 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1428 | *page_cnt = 1; |
| 1429 | return 0; |
| 1430 | #else |
| 1431 | static uint8_t buf[136]; |
| 1432 | *page_cnt = 1; |
| 1433 | return buf; |
| 1434 | #endif |
| 1435 | } |
| 1436 | uint8_t *u8g2_m_17_4_2(uint8_t *page_cnt) |
| 1437 | { |
| 1438 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1439 | *page_cnt = 2; |
| 1440 | return 0; |
| 1441 | #else |
| 1442 | static uint8_t buf[272]; |
| 1443 | *page_cnt = 2; |
| 1444 | return buf; |
| 1445 | #endif |
| 1446 | } |
| 1447 | uint8_t *u8g2_m_17_4_f(uint8_t *page_cnt) |
| 1448 | { |
| 1449 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1450 | *page_cnt = 4; |
| 1451 | return 0; |
| 1452 | #else |
| 1453 | static uint8_t buf[544]; |
| 1454 | *page_cnt = 4; |
| 1455 | return buf; |
| 1456 | #endif |
| 1457 | } |
| 1458 | uint8_t *u8g2_m_17_8_1(uint8_t *page_cnt) |
| 1459 | { |
| 1460 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1461 | *page_cnt = 1; |
| 1462 | return 0; |
| 1463 | #else |
| 1464 | static uint8_t buf[136]; |
| 1465 | *page_cnt = 1; |
| 1466 | return buf; |
| 1467 | #endif |
| 1468 | } |
| 1469 | uint8_t *u8g2_m_17_8_2(uint8_t *page_cnt) |
| 1470 | { |
| 1471 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1472 | *page_cnt = 2; |
| 1473 | return 0; |
| 1474 | #else |
| 1475 | static uint8_t buf[272]; |
| 1476 | *page_cnt = 2; |
| 1477 | return buf; |
| 1478 | #endif |
| 1479 | } |
| 1480 | uint8_t *u8g2_m_17_8_f(uint8_t *page_cnt) |
| 1481 | { |
| 1482 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1483 | *page_cnt = 8; |
| 1484 | return 0; |
| 1485 | #else |
| 1486 | static uint8_t buf[1088]; |
| 1487 | *page_cnt = 8; |
| 1488 | return buf; |
| 1489 | #endif |
| 1490 | } |
| 1491 | uint8_t *u8g2_m_17_9_1(uint8_t *page_cnt) |
| 1492 | { |
| 1493 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1494 | *page_cnt = 1; |
| 1495 | return 0; |
| 1496 | #else |
| 1497 | static uint8_t buf[136]; |
| 1498 | *page_cnt = 1; |
| 1499 | return buf; |
| 1500 | #endif |
| 1501 | } |
| 1502 | uint8_t *u8g2_m_17_9_2(uint8_t *page_cnt) |
| 1503 | { |
| 1504 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1505 | *page_cnt = 2; |
| 1506 | return 0; |
| 1507 | #else |
| 1508 | static uint8_t buf[272]; |
| 1509 | *page_cnt = 2; |
| 1510 | return buf; |
| 1511 | #endif |
| 1512 | } |
| 1513 | uint8_t *u8g2_m_17_9_f(uint8_t *page_cnt) |
| 1514 | { |
| 1515 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1516 | *page_cnt = 9; |
| 1517 | return 0; |
| 1518 | #else |
| 1519 | static uint8_t buf[1224]; |
| 1520 | *page_cnt = 9; |
| 1521 | return buf; |
| 1522 | #endif |
| 1523 | } |
| 1524 | uint8_t *u8g2_m_16_32_1(uint8_t *page_cnt) |
| 1525 | { |
| 1526 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1527 | *page_cnt = 1; |
| 1528 | return 0; |
| 1529 | #else |
| 1530 | static uint8_t buf[128]; |
| 1531 | *page_cnt = 1; |
| 1532 | return buf; |
| 1533 | #endif |
| 1534 | } |
| 1535 | uint8_t *u8g2_m_16_32_2(uint8_t *page_cnt) |
| 1536 | { |
| 1537 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1538 | *page_cnt = 2; |
| 1539 | return 0; |
| 1540 | #else |
| 1541 | static uint8_t buf[256]; |
| 1542 | *page_cnt = 2; |
| 1543 | return buf; |
| 1544 | #endif |
| 1545 | } |
| 1546 | uint8_t *u8g2_m_16_32_f(uint8_t *page_cnt) |
| 1547 | { |
| 1548 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1549 | *page_cnt = 32; |
| 1550 | return 0; |
| 1551 | #else |
| 1552 | static uint8_t buf[4096]; |
| 1553 | *page_cnt = 32; |
| 1554 | return buf; |
| 1555 | #endif |
| 1556 | } |
| 1557 | uint8_t *u8g2_m_26_25_1(uint8_t *page_cnt) |
| 1558 | { |
| 1559 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1560 | *page_cnt = 1; |
| 1561 | return 0; |
| 1562 | #else |
| 1563 | static uint8_t buf[208]; |
| 1564 | *page_cnt = 1; |
| 1565 | return buf; |
| 1566 | #endif |
| 1567 | } |
| 1568 | uint8_t *u8g2_m_26_25_2(uint8_t *page_cnt) |
| 1569 | { |
| 1570 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1571 | *page_cnt = 2; |
| 1572 | return 0; |
| 1573 | #else |
| 1574 | static uint8_t buf[416]; |
| 1575 | *page_cnt = 2; |
| 1576 | return buf; |
| 1577 | #endif |
| 1578 | } |
| 1579 | uint8_t *u8g2_m_26_25_f(uint8_t *page_cnt) |
| 1580 | { |
| 1581 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1582 | *page_cnt = 25; |
| 1583 | return 0; |
| 1584 | #else |
| 1585 | static uint8_t buf[5200]; |
| 1586 | *page_cnt = 25; |
| 1587 | return buf; |
| 1588 | #endif |
| 1589 | } |
| 1590 | uint8_t *u8g2_m_21_48_1(uint8_t *page_cnt) |
| 1591 | { |
| 1592 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1593 | *page_cnt = 1; |
| 1594 | return 0; |
| 1595 | #else |
| 1596 | static uint8_t buf[168]; |
| 1597 | *page_cnt = 1; |
| 1598 | return buf; |
| 1599 | #endif |
| 1600 | } |
| 1601 | uint8_t *u8g2_m_21_48_2(uint8_t *page_cnt) |
| 1602 | { |
| 1603 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1604 | *page_cnt = 2; |
| 1605 | return 0; |
| 1606 | #else |
| 1607 | static uint8_t buf[336]; |
| 1608 | *page_cnt = 2; |
| 1609 | return buf; |
| 1610 | #endif |
| 1611 | } |
| 1612 | uint8_t *u8g2_m_21_48_f(uint8_t *page_cnt) |
| 1613 | { |
| 1614 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1615 | *page_cnt = 48; |
| 1616 | return 0; |
| 1617 | #else |
| 1618 | static uint8_t buf[8064]; |
| 1619 | *page_cnt = 48; |
| 1620 | return buf; |
| 1621 | #endif |
| 1622 | } |
| 1623 | uint8_t *u8g2_m_38_50_1(uint8_t *page_cnt) |
| 1624 | { |
| 1625 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1626 | *page_cnt = 1; |
| 1627 | return 0; |
| 1628 | #else |
| 1629 | static uint8_t buf[304]; |
| 1630 | *page_cnt = 1; |
| 1631 | return buf; |
| 1632 | #endif |
| 1633 | } |
| 1634 | uint8_t *u8g2_m_38_50_2(uint8_t *page_cnt) |
| 1635 | { |
| 1636 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1637 | *page_cnt = 2; |
| 1638 | return 0; |
| 1639 | #else |
| 1640 | static uint8_t buf[608]; |
| 1641 | *page_cnt = 2; |
| 1642 | return buf; |
| 1643 | #endif |
| 1644 | } |
| 1645 | uint8_t *u8g2_m_38_50_f(uint8_t *page_cnt) |
| 1646 | { |
| 1647 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1648 | *page_cnt = 50; |
| 1649 | return 0; |
| 1650 | #else |
| 1651 | static uint8_t buf[15200]; |
| 1652 | *page_cnt = 50; |
| 1653 | return buf; |
| 1654 | #endif |
| 1655 | } |
| 1656 | uint8_t *u8g2_m_48_17_1(uint8_t *page_cnt) |
| 1657 | { |
| 1658 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1659 | *page_cnt = 1; |
| 1660 | return 0; |
| 1661 | #else |
| 1662 | static uint8_t buf[384]; |
| 1663 | *page_cnt = 1; |
| 1664 | return buf; |
| 1665 | #endif |
| 1666 | } |
| 1667 | uint8_t *u8g2_m_48_17_2(uint8_t *page_cnt) |
| 1668 | { |
| 1669 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1670 | *page_cnt = 2; |
| 1671 | return 0; |
| 1672 | #else |
| 1673 | static uint8_t buf[768]; |
| 1674 | *page_cnt = 2; |
| 1675 | return buf; |
| 1676 | #endif |
| 1677 | } |
| 1678 | uint8_t *u8g2_m_48_17_f(uint8_t *page_cnt) |
| 1679 | { |
| 1680 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1681 | *page_cnt = 17; |
| 1682 | return 0; |
| 1683 | #else |
| 1684 | static uint8_t buf[6528]; |
| 1685 | *page_cnt = 17; |
| 1686 | return buf; |
| 1687 | #endif |
| 1688 | } |
| 1689 | uint8_t *u8g2_m_48_20_1(uint8_t *page_cnt) |
| 1690 | { |
| 1691 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1692 | *page_cnt = 1; |
| 1693 | return 0; |
| 1694 | #else |
| 1695 | static uint8_t buf[384]; |
| 1696 | *page_cnt = 1; |
| 1697 | return buf; |
| 1698 | #endif |
| 1699 | } |
| 1700 | uint8_t *u8g2_m_48_20_2(uint8_t *page_cnt) |
| 1701 | { |
| 1702 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1703 | *page_cnt = 2; |
| 1704 | return 0; |
| 1705 | #else |
| 1706 | static uint8_t buf[768]; |
| 1707 | *page_cnt = 2; |
| 1708 | return buf; |
| 1709 | #endif |
| 1710 | } |
| 1711 | uint8_t *u8g2_m_48_20_f(uint8_t *page_cnt) |
| 1712 | { |
| 1713 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1714 | *page_cnt = 20; |
| 1715 | return 0; |
| 1716 | #else |
| 1717 | static uint8_t buf[7680]; |
| 1718 | *page_cnt = 20; |
| 1719 | return buf; |
| 1720 | #endif |
| 1721 | } |
| 1722 | uint8_t *u8g2_m_42_20_1(uint8_t *page_cnt) |
| 1723 | { |
| 1724 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1725 | *page_cnt = 1; |
| 1726 | return 0; |
| 1727 | #else |
| 1728 | static uint8_t buf[336]; |
| 1729 | *page_cnt = 1; |
| 1730 | return buf; |
| 1731 | #endif |
| 1732 | } |
| 1733 | uint8_t *u8g2_m_42_20_2(uint8_t *page_cnt) |
| 1734 | { |
| 1735 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1736 | *page_cnt = 2; |
| 1737 | return 0; |
| 1738 | #else |
| 1739 | static uint8_t buf[672]; |
| 1740 | *page_cnt = 2; |
| 1741 | return buf; |
| 1742 | #endif |
| 1743 | } |
| 1744 | uint8_t *u8g2_m_42_20_f(uint8_t *page_cnt) |
| 1745 | { |
| 1746 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1747 | *page_cnt = 20; |
| 1748 | return 0; |
| 1749 | #else |
| 1750 | static uint8_t buf[6720]; |
| 1751 | *page_cnt = 20; |
| 1752 | return buf; |
| 1753 | #endif |
| 1754 | } |
| 1755 | uint8_t *u8g2_m_20_12_1(uint8_t *page_cnt) |
| 1756 | { |
| 1757 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1758 | *page_cnt = 1; |
| 1759 | return 0; |
| 1760 | #else |
| 1761 | static uint8_t buf[160]; |
| 1762 | *page_cnt = 1; |
| 1763 | return buf; |
| 1764 | #endif |
| 1765 | } |
| 1766 | uint8_t *u8g2_m_20_12_2(uint8_t *page_cnt) |
| 1767 | { |
| 1768 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1769 | *page_cnt = 2; |
| 1770 | return 0; |
| 1771 | #else |
| 1772 | static uint8_t buf[320]; |
| 1773 | *page_cnt = 2; |
| 1774 | return buf; |
| 1775 | #endif |
| 1776 | } |
| 1777 | uint8_t *u8g2_m_20_12_f(uint8_t *page_cnt) |
| 1778 | { |
| 1779 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1780 | *page_cnt = 12; |
| 1781 | return 0; |
| 1782 | #else |
| 1783 | static uint8_t buf[1920]; |
| 1784 | *page_cnt = 12; |
| 1785 | return buf; |
| 1786 | #endif |
| 1787 | } |
| 1788 | uint8_t *u8g2_m_32_20_1(uint8_t *page_cnt) |
| 1789 | { |
| 1790 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1791 | *page_cnt = 1; |
| 1792 | return 0; |
| 1793 | #else |
| 1794 | static uint8_t buf[256]; |
| 1795 | *page_cnt = 1; |
| 1796 | return buf; |
| 1797 | #endif |
| 1798 | } |
| 1799 | uint8_t *u8g2_m_32_20_2(uint8_t *page_cnt) |
| 1800 | { |
| 1801 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1802 | *page_cnt = 2; |
| 1803 | return 0; |
| 1804 | #else |
| 1805 | static uint8_t buf[512]; |
| 1806 | *page_cnt = 2; |
| 1807 | return buf; |
| 1808 | #endif |
| 1809 | } |
| 1810 | uint8_t *u8g2_m_32_20_f(uint8_t *page_cnt) |
| 1811 | { |
| 1812 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1813 | *page_cnt = 20; |
| 1814 | return 0; |
| 1815 | #else |
| 1816 | static uint8_t buf[5120]; |
| 1817 | *page_cnt = 20; |
| 1818 | return buf; |
| 1819 | #endif |
| 1820 | } |
| 1821 | uint8_t *u8g2_m_22_13_1(uint8_t *page_cnt) |
| 1822 | { |
| 1823 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1824 | *page_cnt = 1; |
| 1825 | return 0; |
| 1826 | #else |
| 1827 | static uint8_t buf[176]; |
| 1828 | *page_cnt = 1; |
| 1829 | return buf; |
| 1830 | #endif |
| 1831 | } |
| 1832 | uint8_t *u8g2_m_22_13_2(uint8_t *page_cnt) |
| 1833 | { |
| 1834 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1835 | *page_cnt = 2; |
| 1836 | return 0; |
| 1837 | #else |
| 1838 | static uint8_t buf[352]; |
| 1839 | *page_cnt = 2; |
| 1840 | return buf; |
| 1841 | #endif |
| 1842 | } |
| 1843 | uint8_t *u8g2_m_22_13_f(uint8_t *page_cnt) |
| 1844 | { |
| 1845 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1846 | *page_cnt = 13; |
| 1847 | return 0; |
| 1848 | #else |
| 1849 | static uint8_t buf[2288]; |
| 1850 | *page_cnt = 13; |
| 1851 | return buf; |
| 1852 | #endif |
| 1853 | } |
| 1854 | uint8_t *u8g2_m_20_10_1(uint8_t *page_cnt) |
| 1855 | { |
| 1856 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1857 | *page_cnt = 1; |
| 1858 | return 0; |
| 1859 | #else |
| 1860 | static uint8_t buf[160]; |
| 1861 | *page_cnt = 1; |
| 1862 | return buf; |
| 1863 | #endif |
| 1864 | } |
| 1865 | uint8_t *u8g2_m_20_10_2(uint8_t *page_cnt) |
| 1866 | { |
| 1867 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1868 | *page_cnt = 2; |
| 1869 | return 0; |
| 1870 | #else |
| 1871 | static uint8_t buf[320]; |
| 1872 | *page_cnt = 2; |
| 1873 | return buf; |
| 1874 | #endif |
| 1875 | } |
| 1876 | uint8_t *u8g2_m_20_10_f(uint8_t *page_cnt) |
| 1877 | { |
| 1878 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1879 | *page_cnt = 10; |
| 1880 | return 0; |
| 1881 | #else |
| 1882 | static uint8_t buf[1600]; |
| 1883 | *page_cnt = 10; |
| 1884 | return buf; |
| 1885 | #endif |
| 1886 | } |
| 1887 | uint8_t *u8g2_m_19_4_1(uint8_t *page_cnt) |
| 1888 | { |
| 1889 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1890 | *page_cnt = 1; |
| 1891 | return 0; |
| 1892 | #else |
| 1893 | static uint8_t buf[152]; |
| 1894 | *page_cnt = 1; |
| 1895 | return buf; |
| 1896 | #endif |
| 1897 | } |
| 1898 | uint8_t *u8g2_m_19_4_2(uint8_t *page_cnt) |
| 1899 | { |
| 1900 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1901 | *page_cnt = 2; |
| 1902 | return 0; |
| 1903 | #else |
| 1904 | static uint8_t buf[304]; |
| 1905 | *page_cnt = 2; |
| 1906 | return buf; |
| 1907 | #endif |
| 1908 | } |
| 1909 | uint8_t *u8g2_m_19_4_f(uint8_t *page_cnt) |
| 1910 | { |
| 1911 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1912 | *page_cnt = 4; |
| 1913 | return 0; |
| 1914 | #else |
| 1915 | static uint8_t buf[608]; |
| 1916 | *page_cnt = 4; |
| 1917 | return buf; |
| 1918 | #endif |
| 1919 | } |
| 1920 | uint8_t *u8g2_m_16_9_1(uint8_t *page_cnt) |
| 1921 | { |
| 1922 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1923 | *page_cnt = 1; |
| 1924 | return 0; |
| 1925 | #else |
| 1926 | static uint8_t buf[128]; |
| 1927 | *page_cnt = 1; |
| 1928 | return buf; |
| 1929 | #endif |
| 1930 | } |
| 1931 | uint8_t *u8g2_m_16_9_2(uint8_t *page_cnt) |
| 1932 | { |
| 1933 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1934 | *page_cnt = 2; |
| 1935 | return 0; |
| 1936 | #else |
| 1937 | static uint8_t buf[256]; |
| 1938 | *page_cnt = 2; |
| 1939 | return buf; |
| 1940 | #endif |
| 1941 | } |
| 1942 | uint8_t *u8g2_m_16_9_f(uint8_t *page_cnt) |
| 1943 | { |
| 1944 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1945 | *page_cnt = 9; |
| 1946 | return 0; |
| 1947 | #else |
| 1948 | static uint8_t buf[1152]; |
| 1949 | *page_cnt = 9; |
| 1950 | return buf; |
| 1951 | #endif |
| 1952 | } |
| 1953 | uint8_t *u8g2_m_20_17_1(uint8_t *page_cnt) |
| 1954 | { |
| 1955 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1956 | *page_cnt = 1; |
| 1957 | return 0; |
| 1958 | #else |
| 1959 | static uint8_t buf[160]; |
| 1960 | *page_cnt = 1; |
| 1961 | return buf; |
| 1962 | #endif |
| 1963 | } |
| 1964 | uint8_t *u8g2_m_20_17_2(uint8_t *page_cnt) |
| 1965 | { |
| 1966 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1967 | *page_cnt = 2; |
| 1968 | return 0; |
| 1969 | #else |
| 1970 | static uint8_t buf[320]; |
| 1971 | *page_cnt = 2; |
| 1972 | return buf; |
| 1973 | #endif |
| 1974 | } |
| 1975 | uint8_t *u8g2_m_20_17_f(uint8_t *page_cnt) |
| 1976 | { |
| 1977 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1978 | *page_cnt = 17; |
| 1979 | return 0; |
| 1980 | #else |
| 1981 | static uint8_t buf[2720]; |
| 1982 | *page_cnt = 17; |
| 1983 | return buf; |
| 1984 | #endif |
| 1985 | } |
| 1986 | uint8_t *u8g2_m_26_5_1(uint8_t *page_cnt) |
| 1987 | { |
| 1988 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 1989 | *page_cnt = 1; |
| 1990 | return 0; |
| 1991 | #else |
| 1992 | static uint8_t buf[208]; |
| 1993 | *page_cnt = 1; |
| 1994 | return buf; |
| 1995 | #endif |
| 1996 | } |
| 1997 | uint8_t *u8g2_m_26_5_2(uint8_t *page_cnt) |
| 1998 | { |
| 1999 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2000 | *page_cnt = 2; |
| 2001 | return 0; |
| 2002 | #else |
| 2003 | static uint8_t buf[416]; |
| 2004 | *page_cnt = 2; |
| 2005 | return buf; |
| 2006 | #endif |
| 2007 | } |
| 2008 | uint8_t *u8g2_m_26_5_f(uint8_t *page_cnt) |
| 2009 | { |
| 2010 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2011 | *page_cnt = 5; |
| 2012 | return 0; |
| 2013 | #else |
| 2014 | static uint8_t buf[1040]; |
| 2015 | *page_cnt = 5; |
| 2016 | return buf; |
| 2017 | #endif |
| 2018 | } |
| 2019 | uint8_t *u8g2_m_22_9_1(uint8_t *page_cnt) |
| 2020 | { |
| 2021 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2022 | *page_cnt = 1; |
| 2023 | return 0; |
| 2024 | #else |
| 2025 | static uint8_t buf[176]; |
| 2026 | *page_cnt = 1; |
| 2027 | return buf; |
| 2028 | #endif |
| 2029 | } |
| 2030 | uint8_t *u8g2_m_22_9_2(uint8_t *page_cnt) |
| 2031 | { |
| 2032 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2033 | *page_cnt = 2; |
| 2034 | return 0; |
| 2035 | #else |
| 2036 | static uint8_t buf[352]; |
| 2037 | *page_cnt = 2; |
| 2038 | return buf; |
| 2039 | #endif |
| 2040 | } |
| 2041 | uint8_t *u8g2_m_22_9_f(uint8_t *page_cnt) |
| 2042 | { |
| 2043 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2044 | *page_cnt = 9; |
| 2045 | return 0; |
| 2046 | #else |
| 2047 | static uint8_t buf[1584]; |
| 2048 | *page_cnt = 9; |
| 2049 | return buf; |
| 2050 | #endif |
| 2051 | } |
| 2052 | uint8_t *u8g2_m_25_25_1(uint8_t *page_cnt) |
| 2053 | { |
| 2054 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2055 | *page_cnt = 1; |
| 2056 | return 0; |
| 2057 | #else |
| 2058 | static uint8_t buf[200]; |
| 2059 | *page_cnt = 1; |
| 2060 | return buf; |
| 2061 | #endif |
| 2062 | } |
| 2063 | uint8_t *u8g2_m_25_25_2(uint8_t *page_cnt) |
| 2064 | { |
| 2065 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2066 | *page_cnt = 2; |
| 2067 | return 0; |
| 2068 | #else |
| 2069 | static uint8_t buf[400]; |
| 2070 | *page_cnt = 2; |
| 2071 | return buf; |
| 2072 | #endif |
| 2073 | } |
| 2074 | uint8_t *u8g2_m_25_25_f(uint8_t *page_cnt) |
| 2075 | { |
| 2076 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2077 | *page_cnt = 25; |
| 2078 | return 0; |
| 2079 | #else |
| 2080 | static uint8_t buf[5000]; |
| 2081 | *page_cnt = 25; |
| 2082 | return buf; |
| 2083 | #endif |
| 2084 | } |
| 2085 | uint8_t *u8g2_m_37_16_1(uint8_t *page_cnt) |
| 2086 | { |
| 2087 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2088 | *page_cnt = 1; |
| 2089 | return 0; |
| 2090 | #else |
| 2091 | static uint8_t buf[296]; |
| 2092 | *page_cnt = 1; |
| 2093 | return buf; |
| 2094 | #endif |
| 2095 | } |
| 2096 | uint8_t *u8g2_m_37_16_2(uint8_t *page_cnt) |
| 2097 | { |
| 2098 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2099 | *page_cnt = 2; |
| 2100 | return 0; |
| 2101 | #else |
| 2102 | static uint8_t buf[592]; |
| 2103 | *page_cnt = 2; |
| 2104 | return buf; |
| 2105 | #endif |
| 2106 | } |
| 2107 | uint8_t *u8g2_m_37_16_f(uint8_t *page_cnt) |
| 2108 | { |
| 2109 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2110 | *page_cnt = 16; |
| 2111 | return 0; |
| 2112 | #else |
| 2113 | static uint8_t buf[4736]; |
| 2114 | *page_cnt = 16; |
| 2115 | return buf; |
| 2116 | #endif |
| 2117 | } |
| 2118 | uint8_t *u8g2_m_40_25_1(uint8_t *page_cnt) |
| 2119 | { |
| 2120 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2121 | *page_cnt = 1; |
| 2122 | return 0; |
| 2123 | #else |
| 2124 | static uint8_t buf[320]; |
| 2125 | *page_cnt = 1; |
| 2126 | return buf; |
| 2127 | #endif |
| 2128 | } |
| 2129 | uint8_t *u8g2_m_40_25_2(uint8_t *page_cnt) |
| 2130 | { |
| 2131 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2132 | *page_cnt = 2; |
| 2133 | return 0; |
| 2134 | #else |
| 2135 | static uint8_t buf[640]; |
| 2136 | *page_cnt = 2; |
| 2137 | return buf; |
| 2138 | #endif |
| 2139 | } |
| 2140 | uint8_t *u8g2_m_40_25_f(uint8_t *page_cnt) |
| 2141 | { |
| 2142 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2143 | *page_cnt = 25; |
| 2144 | return 0; |
| 2145 | #else |
| 2146 | static uint8_t buf[8000]; |
| 2147 | *page_cnt = 25; |
| 2148 | return buf; |
| 2149 | #endif |
| 2150 | } |
| 2151 | uint8_t *u8g2_m_8_1_1(uint8_t *page_cnt) |
| 2152 | { |
| 2153 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2154 | *page_cnt = 1; |
| 2155 | return 0; |
| 2156 | #else |
| 2157 | static uint8_t buf[64]; |
| 2158 | *page_cnt = 1; |
| 2159 | return buf; |
| 2160 | #endif |
| 2161 | } |
| 2162 | uint8_t *u8g2_m_8_1_2(uint8_t *page_cnt) |
| 2163 | { |
| 2164 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2165 | *page_cnt = 2; |
| 2166 | return 0; |
| 2167 | #else |
| 2168 | static uint8_t buf[128]; |
| 2169 | *page_cnt = 2; |
| 2170 | return buf; |
| 2171 | #endif |
| 2172 | } |
| 2173 | uint8_t *u8g2_m_8_1_f(uint8_t *page_cnt) |
| 2174 | { |
| 2175 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2176 | *page_cnt = 1; |
| 2177 | return 0; |
| 2178 | #else |
| 2179 | static uint8_t buf[64]; |
| 2180 | *page_cnt = 1; |
| 2181 | return buf; |
| 2182 | #endif |
| 2183 | } |
| 2184 | uint8_t *u8g2_m_4_1_1(uint8_t *page_cnt) |
| 2185 | { |
| 2186 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2187 | *page_cnt = 1; |
| 2188 | return 0; |
| 2189 | #else |
| 2190 | static uint8_t buf[32]; |
| 2191 | *page_cnt = 1; |
| 2192 | return buf; |
| 2193 | #endif |
| 2194 | } |
| 2195 | uint8_t *u8g2_m_4_1_2(uint8_t *page_cnt) |
| 2196 | { |
| 2197 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2198 | *page_cnt = 2; |
| 2199 | return 0; |
| 2200 | #else |
| 2201 | static uint8_t buf[64]; |
| 2202 | *page_cnt = 2; |
| 2203 | return buf; |
| 2204 | #endif |
| 2205 | } |
| 2206 | uint8_t *u8g2_m_4_1_f(uint8_t *page_cnt) |
| 2207 | { |
| 2208 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2209 | *page_cnt = 1; |
| 2210 | return 0; |
| 2211 | #else |
| 2212 | static uint8_t buf[32]; |
| 2213 | *page_cnt = 1; |
| 2214 | return buf; |
| 2215 | #endif |
| 2216 | } |
| 2217 | uint8_t *u8g2_m_1_1_1(uint8_t *page_cnt) |
| 2218 | { |
| 2219 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2220 | *page_cnt = 1; |
| 2221 | return 0; |
| 2222 | #else |
| 2223 | static uint8_t buf[8]; |
| 2224 | *page_cnt = 1; |
| 2225 | return buf; |
| 2226 | #endif |
| 2227 | } |
| 2228 | uint8_t *u8g2_m_1_1_2(uint8_t *page_cnt) |
| 2229 | { |
| 2230 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2231 | *page_cnt = 2; |
| 2232 | return 0; |
| 2233 | #else |
| 2234 | static uint8_t buf[16]; |
| 2235 | *page_cnt = 2; |
| 2236 | return buf; |
| 2237 | #endif |
| 2238 | } |
| 2239 | uint8_t *u8g2_m_1_1_f(uint8_t *page_cnt) |
| 2240 | { |
| 2241 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2242 | *page_cnt = 1; |
| 2243 | return 0; |
| 2244 | #else |
| 2245 | static uint8_t buf[8]; |
| 2246 | *page_cnt = 1; |
| 2247 | return buf; |
| 2248 | #endif |
| 2249 | } |
| 2250 | uint8_t *u8g2_m_13_4_1(uint8_t *page_cnt) |
| 2251 | { |
| 2252 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2253 | *page_cnt = 1; |
| 2254 | return 0; |
| 2255 | #else |
| 2256 | static uint8_t buf[104]; |
| 2257 | *page_cnt = 1; |
| 2258 | return buf; |
| 2259 | #endif |
| 2260 | } |
| 2261 | uint8_t *u8g2_m_13_4_2(uint8_t *page_cnt) |
| 2262 | { |
| 2263 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2264 | *page_cnt = 2; |
| 2265 | return 0; |
| 2266 | #else |
| 2267 | static uint8_t buf[208]; |
| 2268 | *page_cnt = 2; |
| 2269 | return buf; |
| 2270 | #endif |
| 2271 | } |
| 2272 | uint8_t *u8g2_m_13_4_f(uint8_t *page_cnt) |
| 2273 | { |
| 2274 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2275 | *page_cnt = 4; |
| 2276 | return 0; |
| 2277 | #else |
| 2278 | static uint8_t buf[416]; |
| 2279 | *page_cnt = 4; |
| 2280 | return buf; |
| 2281 | #endif |
| 2282 | } |
| 2283 | uint8_t *u8g2_m_20_2_1(uint8_t *page_cnt) |
| 2284 | { |
| 2285 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2286 | *page_cnt = 1; |
| 2287 | return 0; |
| 2288 | #else |
| 2289 | static uint8_t buf[160]; |
| 2290 | *page_cnt = 1; |
| 2291 | return buf; |
| 2292 | #endif |
| 2293 | } |
| 2294 | uint8_t *u8g2_m_20_2_2(uint8_t *page_cnt) |
| 2295 | { |
| 2296 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2297 | *page_cnt = 2; |
| 2298 | return 0; |
| 2299 | #else |
| 2300 | static uint8_t buf[320]; |
| 2301 | *page_cnt = 2; |
| 2302 | return buf; |
| 2303 | #endif |
| 2304 | } |
| 2305 | uint8_t *u8g2_m_20_2_f(uint8_t *page_cnt) |
| 2306 | { |
| 2307 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2308 | *page_cnt = 2; |
| 2309 | return 0; |
| 2310 | #else |
| 2311 | static uint8_t buf[320]; |
| 2312 | *page_cnt = 2; |
| 2313 | return buf; |
| 2314 | #endif |
| 2315 | } |
| 2316 | uint8_t *u8g2_m_32_7_1(uint8_t *page_cnt) |
| 2317 | { |
| 2318 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2319 | *page_cnt = 1; |
| 2320 | return 0; |
| 2321 | #else |
| 2322 | static uint8_t buf[256]; |
| 2323 | *page_cnt = 1; |
| 2324 | return buf; |
| 2325 | #endif |
| 2326 | } |
| 2327 | uint8_t *u8g2_m_32_7_2(uint8_t *page_cnt) |
| 2328 | { |
| 2329 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2330 | *page_cnt = 2; |
| 2331 | return 0; |
| 2332 | #else |
| 2333 | static uint8_t buf[512]; |
| 2334 | *page_cnt = 2; |
| 2335 | return buf; |
| 2336 | #endif |
| 2337 | } |
| 2338 | uint8_t *u8g2_m_32_7_f(uint8_t *page_cnt) |
| 2339 | { |
| 2340 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2341 | *page_cnt = 7; |
| 2342 | return 0; |
| 2343 | #else |
| 2344 | static uint8_t buf[1792]; |
| 2345 | *page_cnt = 7; |
| 2346 | return buf; |
| 2347 | #endif |
| 2348 | } |
| 2349 | uint8_t *u8g2_m_32_6_1(uint8_t *page_cnt) |
| 2350 | { |
| 2351 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2352 | *page_cnt = 1; |
| 2353 | return 0; |
| 2354 | #else |
| 2355 | static uint8_t buf[256]; |
| 2356 | *page_cnt = 1; |
| 2357 | return buf; |
| 2358 | #endif |
| 2359 | } |
| 2360 | uint8_t *u8g2_m_32_6_2(uint8_t *page_cnt) |
| 2361 | { |
| 2362 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2363 | *page_cnt = 2; |
| 2364 | return 0; |
| 2365 | #else |
| 2366 | static uint8_t buf[512]; |
| 2367 | *page_cnt = 2; |
| 2368 | return buf; |
| 2369 | #endif |
| 2370 | } |
| 2371 | uint8_t *u8g2_m_32_6_f(uint8_t *page_cnt) |
| 2372 | { |
| 2373 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2374 | *page_cnt = 6; |
| 2375 | return 0; |
| 2376 | #else |
| 2377 | static uint8_t buf[1536]; |
| 2378 | *page_cnt = 6; |
| 2379 | return buf; |
| 2380 | #endif |
| 2381 | } |
| 2382 | uint8_t *u8g2_m_48_30_1(uint8_t *page_cnt) |
| 2383 | { |
| 2384 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2385 | *page_cnt = 1; |
| 2386 | return 0; |
| 2387 | #else |
| 2388 | static uint8_t buf[384]; |
| 2389 | *page_cnt = 1; |
| 2390 | return buf; |
| 2391 | #endif |
| 2392 | } |
| 2393 | uint8_t *u8g2_m_48_30_2(uint8_t *page_cnt) |
| 2394 | { |
| 2395 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2396 | *page_cnt = 2; |
| 2397 | return 0; |
| 2398 | #else |
| 2399 | static uint8_t buf[768]; |
| 2400 | *page_cnt = 2; |
| 2401 | return buf; |
| 2402 | #endif |
| 2403 | } |
| 2404 | uint8_t *u8g2_m_48_30_f(uint8_t *page_cnt) |
| 2405 | { |
| 2406 | #ifdef U8G2_USE_DYNAMIC_ALLOC |
| 2407 | *page_cnt = 30; |
| 2408 | return 0; |
| 2409 | #else |
| 2410 | static uint8_t buf[11520]; |
| 2411 | *page_cnt = 30; |
| 2412 | return buf; |
| 2413 | #endif |
| 2414 | } |
| 2415 | /* end of generated code */ |