lovyan03 / LovyanGFX

SPI LCD graphics library for ESP32 (ESP-IDF/ArduinoESP32) / ESP8266 (ArduinoESP8266) / SAMD51(Seeed ArduinoSAMD51)
Other
1.02k stars 187 forks source link

Endianness Inconsistency #554

Open ghasto69 opened 3 weeks ago

ghasto69 commented 3 weeks ago

Carefully written Issues are more likely to be given priority. 丁寧に記述された報告は優先して対応される可能性が高くなります。

Environment ( 実行環境 )

Problem Description ( 問題の内容 )

Diffirent draw functions expect different endianness: pushImage expects big endian for both image and transparency pushSprite expects little endian for transparency all simple drawing functions expect little endian

Expected Behavior ( 期待される動作 )

consistent endianness over all drawing functions

Actual Behavior ( 実際の動作 )

inconsistent endianness over all drawing functions

Steps to reproduce ( 再現のための前提条件 )

  1. step1
  2. ...

// If possible, attach a picture of your setup/wiring here.

Code to reproduce this issue ( 再現させるためのコード )

Please submit complete source code that can reproduce your problem. あなたの問題を再現できる完全なソースコードを提示してください。

// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{

}

// If your code is longer than 30 lines, GIST is preferred.