Buildfix for lego and bumping common-packages to 0.23.54 (#780)

* fixing build failure

* Bumping common-packages to 0.23.54
This commit is contained in:
Abhijith Chatra
2018-09-18 16:31:40 -07:00
committed by GitHub
parent 7ad5d123a3
commit 9825a90df2
2 changed files with 8 additions and 1 deletions

View File

@ -1,9 +1,16 @@
#ifndef __PXTCORE_H
#define __PXTCORE_H
#include <stdio.h>
namespace pxt {
void dmesg(const char *fmt, ...);
#define DMESG pxt::dmesg
}
static inline void itoa(int v, char *dst) {
snprintf(dst, 30, "%d", v);
}
#endif