forked from mirrors/qmk_userspace
Add default limit to OLED dirty processing (#19068)
This commit is contained in:
parent
a42ab90220
commit
0719d68b20
2 changed files with 7 additions and 2 deletions
|
@ -170,6 +170,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
# define OLED_UPDATE_INTERVAL 50
|
||||
#endif
|
||||
|
||||
#if !defined(OLED_UPDATE_PROCESS_LIMIT)
|
||||
# define OLED_UPDATE_PROCESS_LIMIT 1
|
||||
#endif
|
||||
|
||||
typedef struct __attribute__((__packed__)) {
|
||||
uint8_t *current_element;
|
||||
uint16_t remaining_element_count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue