|
|
@ -2,14 +2,8 @@ |
|
|
|
// Created by MightyPork on 2022/12/28.
|
|
|
|
// Created by MightyPork on 2022/12/28.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
|
|
|
|
|
#include <string.h> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "ufb/framebuffer.h" |
|
|
|
#include "ufb/framebuffer.h" |
|
|
|
#include "gpio.h" |
|
|
|
#include "gpio.h" |
|
|
|
#include "spi.h" |
|
|
|
|
|
|
|
#include "FreeRTOS.h" |
|
|
|
|
|
|
|
#include "app_safety.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define SSD1309_HEIGHT 64 |
|
|
|
#define SSD1309_HEIGHT 64 |
|
|
|
|
|
|
|
|
|
|
@ -237,8 +231,6 @@ void oled_data(uint8_t *data, int len) |
|
|
|
|
|
|
|
|
|
|
|
void fb_blit() |
|
|
|
void fb_blit() |
|
|
|
{ |
|
|
|
{ |
|
|
|
app_safety_pass_display_updating(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if 0 |
|
|
|
#if 0 |
|
|
|
oled_data(fb, FB_LEN); |
|
|
|
oled_data(fb, FB_LEN); |
|
|
|
#else |
|
|
|
#else |
|
|
|