Correct Pico Display 2 baud

The Pico Display 2 example specifies a baud of 74 * 1000 * 1000.
However, the highest baud the Raspberry Pi Pico can achieve is
62,500,000.

I checked and even when the baud of 74 * 1000 * 1000 is specified,
it ends up using the max that the Raspberry Pi Pico can handle anyway.

This commit removes the incorrect baud parameter, using the default
parameter instead.
pull/218/head
Chris Blume 2021-12-02 11:42:29 -08:00
rodzic 261d2732f0
commit 9e788f7379
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -49,7 +49,7 @@ namespace pimoroni {
gpio_set_function(Y, GPIO_FUNC_SIO); gpio_set_dir(Y, GPIO_IN); gpio_pull_up(Y);
// initialise the screen
screen.init(true, false, 74 * 1000 * 1000);
screen.init(true, false);
}
void PicoDisplay2::update() {