Use enums for hw_model per @sachaw idea.

This commit is contained in:
Kevin Hester
2021-03-14 10:37:32 +08:00
parent efebb8bb0b
commit 9a03536e3d
9 changed files with 54 additions and 24 deletions

View File

@@ -224,7 +224,8 @@ void NRF52Bluetooth::setup()
// Configure and Start the Device Information Service
DEBUG_MSG("Configuring the Device Information Service\n");
bledis.setManufacturer(HW_VENDOR);
// FIXME, we should set a mfg string based on our HW_VENDOR enum
// bledis.setManufacturer(HW_VENDOR);
bledis.setModel(optstr(HW_VERSION));
bledis.setFirmwareRev(optstr(APP_VERSION));
bledis.begin();