C++-ize W6300 driver: remove vtable indirection, constexpr pins, pragma once

This commit is contained in:
Ian Gulliver
2026-04-04 16:22:37 +09:00
parent dec8d0c68d
commit 92e00476da
16 changed files with 967 additions and 1655 deletions

View File

@@ -4,10 +4,8 @@
#include "pico/unique_id.h"
#include "device.h"
extern "C" {
#include "wizchip_conf.h"
#include "wizchip_spi.h"
}
static void send_bytes(const std::vector<uint8_t> &data) {
for (auto b : data) {