mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/u8g2: remove nanosleep
This commit is contained in:
parent
8794b357a1
commit
92c3b0ffb0
@ -103,7 +103,8 @@ uint8_t u8x8_gpio_and_delay_riotos(u8x8_t *u8g2, uint8_t msg, uint8_t arg_int, v
|
||||
xtimer_usleep(arg_int * 10);
|
||||
break;
|
||||
case U8X8_MSG_DELAY_100NANO:
|
||||
xtimer_nanosleep(arg_int * 100);
|
||||
/* not used in upstream so approximating to 1us should be fine */
|
||||
xtimer_usleep(1);
|
||||
break;
|
||||
case U8X8_MSG_GPIO_CS:
|
||||
if (u8x8_riot_ptr != NULL && gpio_is_valid(u8x8_riot_ptr->pin_cs)) {
|
||||
|
Loading…
Reference in New Issue
Block a user