Remove c++ macros that are moving to common packages (#1953)
* (probably) fix PXT_BUFFER_DATA, need to set up docker to test * switch to adding new macros * more macros and rename some * get data length in bytes * remove macros that were moved to common packages * bump common packages to include reqd pr
This commit is contained in:
parent
aff219c6ef
commit
f14cd4fc24
@ -1,13 +1,3 @@
|
||||
// helpful define to handle C++ differences in package
|
||||
#define PXT_MICROBIT_TAGGED_INT 1
|
||||
|
||||
// cross version compatible way of access data field
|
||||
#ifndef PXT_BUFFER_DATA
|
||||
#define PXT_BUFFER_DATA(buffer) buffer->data
|
||||
#endif
|
||||
|
||||
#ifndef PXT_CREATE_BUFFER
|
||||
#define PXT_CREATE_BUFFER(data, len) pxt::mkBuffer(data, len)
|
||||
#endif
|
||||
|
||||
#define PXT_POWI 1
|
||||
|
@ -45,7 +45,7 @@
|
||||
"@types/web-bluetooth": "0.0.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"pxt-common-packages": "6.5.19",
|
||||
"pxt-common-packages": "6.5.20",
|
||||
"pxt-core": "5.9.3"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user