Skip to content

Commit

Permalink
Update scripts/build/builders/nxp.py
Browse files Browse the repository at this point in the history
Co-authored-by: Arkadiusz Bokowy <[email protected]>
  • Loading branch information
andy31415 and arkq authored Oct 17, 2024
1 parent 12399fb commit 4f4dec2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions scripts/build/builders/nxp.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,10 @@ def __init__(self,
self.iw416_transceiver = iw416_transceiver
self.w8801_transceiver = w8801_transceiver
self.iwx12_transceiver = iwx12_transceiver
if self.low_power:
if log_level != NxpLogLevel.NONE:
logging.warning("Switching log level to 'NONE' for low power build")
self.log_level = NxpLogLevel.NONE
else:
self.log_level = log_level
if self.low_power and log_level != NxpLogLevel.NONE:
logging.warning("Switching log level to 'NONE' for low power build")
log_level = NxpLogLevel.NONE
self.log_level = log_level

def GnBuildArgs(self):
args = []
Expand Down

0 comments on commit 4f4dec2

Please sign in to comment.