remove check of myoptind >= argc because: [bkueng](/bkueng) Because BATT_SMBUS is using a different structure (the ModuleBase class), and `BATT_SMBUS::task_spawn` is only called for the `start` command. This is the reason why you don't need to check for it in here.
remove check of myoptind >= argc because: [bkueng](/bkueng)
Because BATT_SMBUS is using a different structure (the ModuleBase class), and `BATT_SMBUS::task_spawn` is only called for the `start` command. This is the reason why you don't need to check for it in here.

PX4/Firmware,krbeverx/Firmware,PX4/Firmware,dagar/Firmware,mje-nz/PX4-Firmware,acfloria/Firmware,mje-nz/PX4-Firmware,mje-nz/PX4-Firmware,PX4/Firmware,krbeverx/Firmware,acfloria/Firmware,mje-nz/PX4-Firmware,acfloria/Firmware,dagar/Firmware,mje-nz/PX4-Firmware,krbeverx/Firmware,dagar/Firmware,dagar/Firmware,acfloria/Firmware,PX4/Firmware,mje-nz/PX4-Firmware,acfloria/Firmware,PX4/Firmware,mje-nz/PX4-Firmware,acfloria/Firmware,krbeverx/Firmware,acfloria/Firmware,PX4/Firmware,krbeverx/Firmware,dagar/Firmware,PX4/Firmware,dagar/Firmware,krbeverx/Firmware,dagar/Firmware,krbeverx/Firmware