
19 Dec
2022
19 Dec
'22
3:40 p.m.
On Sun, Dec 18, 2022 at 9:52 AM egyszeregy@freemail.hu wrote:
+static void ddr_init(void) +{
if (is_1g()) {
if (is_2g()) {
This logic is confusing.
It would be better to read the two GPIOs and then do a switch case to handle the possible values.