Update index.md
This commit is contained in:
parent
d6d5debc19
commit
0f1ec1b01d
@ -112,7 +112,7 @@ This describes how to set up a mobile PaxCounter:<br> Follow all steps so far fo
|
|||||||
|
|
||||||
## SD-card
|
## SD-card
|
||||||
|
|
||||||
Data can be stored on SD-card if the board provides an SD card interface, either with SPI or MMC mode. To enable this feature, specify interface mode and hardware pins in board's hal file (`src/hal/<board.h\>`):
|
Data can be stored on a FAT32 (pre-)formatted SD-card if the board provides an SD card interface, either with SPI or MMC mode. To enable this feature, specify interface mode and hardware pins in board's hal file (`src/hal/<board.h\>`):
|
||||||
|
|
||||||
```c
|
```c
|
||||||
#define HAS_SDCARD 1 // SD-card interface, using SPI mode
|
#define HAS_SDCARD 1 // SD-card interface, using SPI mode
|
||||||
@ -149,4 +149,4 @@ Additionally, it's possible to redirect system console output to a plain text fi
|
|||||||
|
|
||||||
```c linenums="16" title="src/paxcounter_orig.conf"
|
```c linenums="16" title="src/paxcounter_orig.conf"
|
||||||
--8<-- "src/paxcounter_orig.conf:16:16"
|
--8<-- "src/paxcounter_orig.conf:16:16"
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user