Make DELAY_NS round up on AVR (#21546)

This commit is contained in:
Mike La Spina
2021-04-05 16:34:31 -05:00
committed by GitHub
parent e3116eed2e
commit 993609b5aa
2 changed files with 33 additions and 4 deletions

View File

@ -60,7 +60,7 @@
#elif F_CPU == 16000000
#define CPU_ST7920_DELAY_1 DELAY_NS(125)
#define CPU_ST7920_DELAY_2 DELAY_NS(0)
#define CPU_ST7920_DELAY_3 DELAY_NS(125)
#define CPU_ST7920_DELAY_3 DELAY_NS(188)
#else
#error "No valid condition for delays in 'ultralcd_st7920_u8glib_rrd_AVR.h'"
#endif