mirror of
https://github.com/EmbedDevIOT/obsidian-vault-.git
synced 2026-11-06 02:53:27 +03:00
vault backup: 2026-03-14 16:03:40
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
```
|
||||
#include <fcntl.h> // открытие файлов
|
||||
#include <sys/mman.h> // mmap и munmap
|
||||
#include <unistd.h> // usleep и close
|
||||
#include <cstring> // perror
|
||||
#include <cstdint> // для uint32_t
|
||||
```
|
||||
#include <iostream> // вывод сообщений
|
||||
#include <fcntl.h> // открытие файлов
|
||||
#include <sys/mman.h> // mmap и munmap
|
||||
@@ -68,4 +75,5 @@ int main() {
|
||||
munmap(gpio_map, BLOCK_SIZE);
|
||||
close(mem_fd);
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user