I2C Implementation (#84)
This commit is contained in:
committed by
GitHub
parent
881c8517bf
commit
d8731eaa17
@@ -76,7 +76,7 @@ static int32_t sdcard_task(void* context) {
|
||||
}
|
||||
|
||||
static void on_start(Service& service) {
|
||||
if (get_hardware_config()->sdcard != nullptr) {
|
||||
if (get_hardware_config().sdcard != nullptr) {
|
||||
ServiceData* data = service_data_alloc();
|
||||
service.setData(data);
|
||||
data->thread->start();
|
||||
|
||||
@@ -30,7 +30,7 @@ typedef struct {
|
||||
} Wifi;
|
||||
|
||||
|
||||
static Wifi* wifi = NULL;
|
||||
static Wifi* wifi = nullptr;
|
||||
|
||||
// Forward declarations
|
||||
static void wifi_lock(Wifi* wifi);
|
||||
|
||||
Reference in New Issue
Block a user