mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-01 10:11:37 +02:00
small improvements - code review
This commit is contained in:
parent
eee64e7746
commit
1253960177
2 changed files with 5 additions and 5 deletions
|
@ -60,8 +60,10 @@
|
|||
h.appendChild(r);
|
||||
main.appendChild(h);
|
||||
|
||||
main.appendChild(genTabRow("nrf24l01" + (obj["isPVariant"] ? "+ " : ""), (obj["isconnected"] ? "is connected " : "is not connected ")));
|
||||
main.appendChild(genTabRow("NRF Signal: ", (obj["goodSignal"] ? "Strong signal > 64dBm" : "Weak signal < 64dBm")));
|
||||
main.append(
|
||||
genTabRow("nrf24l01" + (obj["isPVariant"] ? "+ " : ""), (obj["isconnected"] ? "is connected " : "is not connected ")),
|
||||
genTabRow("NRF Signal: ", (obj["goodSignal"] ? "Strong signal > 64dBm" : "Weak signal < 64dBm"))
|
||||
);
|
||||
|
||||
if(obj["isconnected"]) {
|
||||
main.appendChild(genTabRow("Datarate", datarate[obj["DataRate"]]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue