move channel to class

This commit is contained in:
2023-01-04 08:53:11 -06:00
parent 7eeec9bc50
commit ce2d493216
2 changed files with 19 additions and 16 deletions
+14
View File
@@ -0,0 +1,14 @@
class Channel {
constructor() {
this.chan_name = '?';
this.batt_bars = 255;
this.batt_run_time = 65535;
this.audio_gain = 0;
this.audio_lvl = 0;
this.rx_rf_lvl = 0;
this.rf_antenna = 0;
this.tx_type = 0;
}
}
module.exports = Channel;