Pimoroni I2C: Update to use modmachine.h consolidated header.

pull/892/head
Phil Howard 2024-01-08 10:15:28 +00:00
rodzic 4dd76525f6
commit 1b3d9d9fb2
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -8,7 +8,7 @@ using namespace pimoroni;
extern "C" {
#include "pimoroni_i2c.h"
#include "py/mperrno.h"
#include "extmod/machine_i2c.h"
#include "extmod/modmachine.h"
_PimoroniI2C_obj_t* PimoroniI2C_from_machine_i2c_or_native(mp_obj_t i2c_obj) {

Wyświetl plik

@ -1,6 +1,6 @@
// Include MicroPython API.
#include "py/runtime.h"
#include "extmod/machine_i2c.h"
#include "extmod/modmachine.h"
#include "hardware/i2c.h"
/***** Extern of Class Definition *****/