Make DELAY_NS round up on AVR (#21546)

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

No files matched your search

@@ -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