Skip to content

Commit

Permalink
- fix: forgot to comment out the EVE2 BITMAP_TRANSFORM_E when convert…
Browse files Browse the repository at this point in the history
…ing it to an inline function

- set the version to 5.0.8 in library.json
  • Loading branch information
RudolphRiedel committed Jan 7, 2024
1 parent 203506e commit b20b9b4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
5 changes: 3 additions & 2 deletions EVE.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@file EVE.h
@brief Contains FT80x/FT81x/BT81x API definitions
@version 5.0
@date 2023-12-17
@date 2024-01-07
@author Rudolph Riedel
@section LICENSE
Expand Down Expand Up @@ -68,6 +68,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- added type-casts to all simple macros
- converted some more function-like macros to static inline functions
- converted the rest of the function-like macros to static inline functions
- fix: forgot to comment out the EVE2 BITMAP_TRANSFORM_E when converting it to an inline function
*/

Expand Down Expand Up @@ -710,7 +711,7 @@ static inline uint32_t BITMAP_TRANSFORM_D(uint32_t val)
return (DL_BITMAP_TRANSFORM_D | (val & 0x1FFFFUL));
}

#define BITMAP_TRANSFORM_E(e) ((DL_BITMAP_TRANSFORM_E) | ((e) & 0x1FFFFUL))
//#define BITMAP_TRANSFORM_E(e) ((DL_BITMAP_TRANSFORM_E) | ((e) & 0x1FFFFUL))
/**
* @brief Set he E coefficient of the bitmap transform matrix.
* @return a 32 bit word for use with EVE_cmd_dl()
Expand Down
3 changes: 1 addition & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016-2023 Rudolph Riedel
Copyright (c) 2016-2024 Rudolph Riedel

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand All @@ -18,4 +18,3 @@ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@ This library currently has nine files that I hope are named to make clear what t
- EVE_cpp_wrapper.cpp - this is for Arduino C++ targets
- EVE_cpp_wrapper.h - this is for Arduino C++ targets

Addtionally there are these two:
- EVE_supplemental.c
- EVE_suppplemental.h

This has the prototype and implementation for extra functions, so far:
- EVE_widget_circle() - widget function to draw a circle
- EVE_widget_rectangle() - widget function to draw a rectangle
- EVE_polar_cartesian() - calculate coordinates from an angle and a length

## Examples

Generate a basic display list and tell EVE to use it:
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EmbeddedVideoEngine",
"version": "5.0.7",
"version": "5.0.8",
"keywords": "TFT, SPI, EVE2, EVE3, EVE4 ,Bridgetek, F81x, FT813, BT81x, BT815, BT817",
"description": "Code library for EVE2/EVE3/EVE4 graphics controller ICs from FTDI/Bridgetek",
"repository": {
Expand Down

0 comments on commit b20b9b4

Please sign in to comment.