kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Pimoroni I2C: Update to use modmachine.h consolidated header.
rodzic
4dd76525f6
commit
1b3d9d9fb2
|
@ -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) {
|
||||
|
|
|
@ -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 *****/
|
||||
|
|
Ładowanie…
Reference in New Issue