|
@@ -307,6 +307,8 @@ static void plus2header (int model) |
|
|
printf (" +-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+\n") ; |
|
|
printf (" +-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+\n") ; |
|
|
else if (model == PI_MODEL_3P) |
|
|
else if (model == PI_MODEL_3P) |
|
|
printf (" +-----+-----+---------+------+---+---Pi 3+--+---+------+---------+-----+-----+\n") ; |
|
|
printf (" +-----+-----+---------+------+---+---Pi 3+--+---+------+---------+-----+-----+\n") ; |
|
|
|
|
|
else if (model == PI_MODEL_4) |
|
|
|
|
|
printf (" +-----+-----+---------+------+---+---Pi 4+--+---+------+---------+-----+-----+\n") ; |
|
|
else |
|
|
else |
|
|
printf (" +-----+-----+---------+------+---+---Pi ?---+---+------+---------+-----+-----+\n") ; |
|
|
printf (" +-----+-----+---------+------+---+---Pi ?---+---+------+---------+-----+-----+\n") ; |
|
|
} |
|
|
} |
|
@@ -353,7 +355,8 @@ void doReadall (void) |
|
|
else if ((model == PI_MODEL_BP) || (model == PI_MODEL_AP) || |
|
|
else if ((model == PI_MODEL_BP) || (model == PI_MODEL_AP) || |
|
|
(model == PI_MODEL_2) || |
|
|
(model == PI_MODEL_2) || |
|
|
(model == PI_MODEL_3) || (model == PI_MODEL_3P) || |
|
|
(model == PI_MODEL_3) || (model == PI_MODEL_3P) || |
|
|
(model == PI_MODEL_ZERO) || (model == PI_MODEL_ZERO_W)) |
|
|
|
|
|
|
|
|
(model == PI_MODEL_ZERO) || (model == PI_MODEL_ZERO_W) || |
|
|
|
|
|
(model == PI_MODEL_4)) |
|
|
piPlusReadall (model) ; |
|
|
piPlusReadall (model) ; |
|
|
else if ((model == PI_MODEL_CM) || (model == PI_MODEL_CM3)) |
|
|
else if ((model == PI_MODEL_CM) || (model == PI_MODEL_CM3)) |
|
|
allReadall () ; |
|
|
allReadall () ; |
|
|