summaryrefslogtreecommitdiff
path: root/py/modmath.c
diff options
context:
space:
mode:
authorGlenn Ruben Bakke <glennbakke@gmail.com>2018-05-08 20:06:55 +0200
committerDamien George <damien.p.george@gmail.com>2018-07-18 17:12:26 +1000
commit5925004da3c4656e07493f203c981a7000bdcbde (patch)
treeaa966d4dc43ad572ce1f75521973dd95d0ad2c46 /py/modmath.c
parent774638e2a90957b60dcd247c7f498b68d3c6bcc9 (diff)
nrf/modules/machine/spi: Move enable-guard to prevent wrong includes
This patch moves the check of SPI configuration before including any SPI header files. As targets might disable SPI support, current code ends up in including SPIM if not SPI is configured. Hence, this is why the check whether the module is enabled should be done before including headers.
Diffstat (limited to 'py/modmath.c')
0 files changed, 0 insertions, 0 deletions