Skip to content

Commit c5fba67

Browse files
committed
Refactored some unwanted code
1 parent b934082 commit c5fba67

File tree

3 files changed

+2
-28
lines changed

3 files changed

+2
-28
lines changed

config/esp32/components/chip/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ menu "CHIP Device Layer"
967967
help
968968
This option enables the system statistics to be sent to the insights cloud.
969969

970-
config MAX_PERMIT_LIST_SIZE
970+
config MAX_PERMIT_LIST_SIZE
971971
int "Set permit list size for Insights traces"
972972
range 5 30
973973
depends on ESP_INSIGHTS_ENABLED

config/esp32/components/chip/factory_wrapper.cmake

-25
This file was deleted.

scripts/tools/generate_esp32_chip_factory_bin.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050

5151
TOOLS = {}
5252

53-
5453
FACTORY_PARTITION_CSV = 'nvs_partition.csv'
5554
FACTORY_PARTITION_BIN = 'factory_partition.bin'
5655
NVS_KEY_PARTITION_BIN = 'nvs_key_partition.bin'
@@ -605,7 +604,6 @@ def any_base_int(s): return int(s, 0)
605604
help='Do not generate the factory partition binary')
606605
parser.add_argument('--output_dir', type=str, default='bin', help='Created image output file path')
607606

608-
609607
parser.add_argument('-cf', '--commissioning-flow', type=any_base_int, default=0,
610608
help='Device commissioning flow, 0:Standard, 1:User-Intent, 2:Custom. \
611609
Default is 0.', choices=[0, 1, 2])
@@ -671,6 +669,7 @@ def main():
671669
if (args.discriminator and args.passcode):
672670
generate_onboarding_data(args)
673671

672+
674673
if __name__ == "__main__":
675674
logging.basicConfig(format='[%(asctime)s] [%(levelname)7s] - %(message)s', level=logging.INFO)
676675
main()

0 commit comments

Comments
 (0)