MicroPython: Fix Class name QSTRs.
This commit is contained in:
parent
ff5d175eb2
commit
a9eb58a3ce
|
@ -77,7 +77,7 @@ STATIC MP_DEFINE_CONST_DICT(Badger2040_locals_dict, Badger2040_locals_dict_table
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t Badger2040_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_badger2040,
|
||||
.name = MP_QSTR_Badger2040,
|
||||
.make_new = Badger2040_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&Badger2040_locals_dict,
|
||||
};
|
||||
|
|
|
@ -59,7 +59,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutAS7262_locals_dict, BreakoutAS7262_locals_di
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_as7262_BreakoutAS7262_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_as7262,
|
||||
.name = MP_QSTR_BreakoutAS7262,
|
||||
.make_new = BreakoutAS7262_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutAS7262_locals_dict,
|
||||
};
|
||||
|
|
|
@ -30,7 +30,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutBH1745_locals_dict, BreakoutBH1745_locals_di
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_bh1745_BreakoutBH1745_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_bh1745,
|
||||
.name = MP_QSTR_BreakoutBH1745,
|
||||
.make_new = BreakoutBH1745_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutBH1745_locals_dict,
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutBME280_locals_dict, BreakoutBME280_locals_di
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_bme280_BreakoutBME280_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_bme280,
|
||||
.name = MP_QSTR_BreakoutBME280,
|
||||
.make_new = BreakoutBME280_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutBME280_locals_dict,
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutBME68X_locals_dict, BreakoutBME68X_locals_di
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_bme68x_BreakoutBME68X_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_bme68x,
|
||||
.name = MP_QSTR_BreakoutBME68X,
|
||||
.make_new = BreakoutBME68X_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutBME68X_locals_dict,
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutBMP280_locals_dict, BreakoutBMP280_locals_di
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_bmp280_BreakoutBMP280_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_bmp280,
|
||||
.name = MP_QSTR_BreakoutBMP280,
|
||||
.make_new = BreakoutBMP280_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutBMP280_locals_dict,
|
||||
};
|
||||
|
|
|
@ -30,7 +30,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutDotMatrix_locals_dict, BreakoutDotMatrix_loc
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_dotmatrix_BreakoutDotMatrix_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_dotmatrix,
|
||||
.name = MP_QSTR_BreakoutDotMatrix,
|
||||
.make_new = BreakoutDotMatrix_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutDotMatrix_locals_dict,
|
||||
};
|
||||
|
|
|
@ -36,7 +36,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutEncoder_locals_dict, BreakoutEncoder_locals_
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_encoder_BreakoutEncoder_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_encoder,
|
||||
.name = MP_QSTR_BreakoutEncoder,
|
||||
.make_new = BreakoutEncoder_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutEncoder_locals_dict,
|
||||
};
|
||||
|
|
|
@ -24,7 +24,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutICP10125_locals_dict, BreakoutICP10125_local
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_icp10125_BreakoutICP10125_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_matrix11x7,
|
||||
.name = MP_QSTR_BreakoutICP10125,
|
||||
.make_new = BreakoutICP10125_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutICP10125_locals_dict,
|
||||
};
|
||||
|
|
|
@ -65,7 +65,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutIOExpander_locals_dict, BreakoutIOExpander_l
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_ioexpander_BreakoutIOExpander_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_ioexpander,
|
||||
.name = MP_QSTR_BreakoutIOExpander,
|
||||
.make_new = BreakoutIOExpander_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutIOExpander_locals_dict,
|
||||
};
|
||||
|
|
|
@ -47,7 +47,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutLTR559_locals_dict, BreakoutLTR559_locals_di
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_ltr559_BreakoutLTR559_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_ltr559,
|
||||
.name = MP_QSTR_BreakoutLTR559,
|
||||
.make_new = BreakoutLTR559_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutLTR559_locals_dict,
|
||||
};
|
||||
|
|
|
@ -22,7 +22,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutMatrix11x7_locals_dict, BreakoutMatrix11x7_l
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_matrix11x7_BreakoutMatrix11x7_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_matrix11x7,
|
||||
.name = MP_QSTR_BreakoutMatrix11x7,
|
||||
.make_new = BreakoutMatrix11x7_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutMatrix11x7_locals_dict,
|
||||
};
|
||||
|
|
|
@ -50,7 +50,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutMICS6814_locals_dict, BreakoutMICS6814_local
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_mics6814_BreakoutMICS6814_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_mics6814,
|
||||
.name = MP_QSTR_BreakoutMICS6814,
|
||||
.make_new = BreakoutMICS6814_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutMICS6814_locals_dict,
|
||||
};
|
||||
|
|
|
@ -83,7 +83,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutMSA301_locals_dict, BreakoutMSA301_locals_di
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_msa301_BreakoutMSA301_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_msa301,
|
||||
.name = MP_QSTR_BreakoutMSA301,
|
||||
.make_new = BreakoutMSA301_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutMSA301_locals_dict,
|
||||
};
|
||||
|
|
|
@ -34,7 +34,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutPMW3901_locals_dict, BreakoutPMW3901_locals_
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_pmw3901_BreakoutPMW3901_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_pmw3901,
|
||||
.name = MP_QSTR_BreakoutPMW3901,
|
||||
.print = BreakoutPMW3901_print,
|
||||
.make_new = BreakoutPMW3901_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutPMW3901_locals_dict,
|
||||
|
@ -65,7 +65,7 @@ MP_REGISTER_MODULE(MP_QSTR_breakout_pmw3901, breakout_pmw3901_user_cmodule, MODU
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_paa5100_BreakoutPAA5100_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_pmw3901,
|
||||
.name = MP_QSTR_BreakoutPAA5100,
|
||||
.print = BreakoutPMW3901_print,
|
||||
.make_new = BreakoutPAA5100_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutPMW3901_locals_dict,
|
||||
|
|
|
@ -34,7 +34,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutPotentiometer_locals_dict, BreakoutPotentiom
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_potentiometer_BreakoutPotentiometer_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_potentiometer,
|
||||
.name = MP_QSTR_BreakoutPotentiometer,
|
||||
.make_new = BreakoutPotentiometer_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutPotentiometer_locals_dict,
|
||||
};
|
||||
|
|
|
@ -22,7 +22,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutRGBMatrix5x5_locals_dict, BreakoutRGBMatrix5
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_rgbmatrix5x5_BreakoutRGBMatrix5x5_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_rgbmatrix5x5,
|
||||
.name = MP_QSTR_BreakoutRGBMatrix5x5,
|
||||
.make_new = BreakoutRGBMatrix5x5_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutRGBMatrix5x5_locals_dict,
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutRoundLCD_locals_dict, BreakoutRoundLCD_local
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_roundlcd_BreakoutRoundLCD_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_roundlcd,
|
||||
.name = MP_QSTR_BreakoutRoundLCD,
|
||||
.print = BreakoutRoundLCD_print,
|
||||
.make_new = BreakoutRoundLCD_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutRoundLCD_locals_dict,
|
||||
|
|
|
@ -138,7 +138,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutRTC_locals_dict, BreakoutRTC_locals_dict_tab
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_rtc_BreakoutRTC_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_rtc,
|
||||
.name = MP_QSTR_BreakoutRTC,
|
||||
.make_new = BreakoutRTC_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutRTC_locals_dict,
|
||||
};
|
||||
|
|
|
@ -36,7 +36,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutSGP30_locals_dict, BreakoutSGP30_locals_dict
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_sgp30_BreakoutSGP30_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_matrix11x7,
|
||||
.name = MP_QSTR_BreakoutSGP30,
|
||||
.make_new = BreakoutSGP30_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutSGP30_locals_dict,
|
||||
};
|
||||
|
|
|
@ -38,7 +38,7 @@ STATIC MP_DEFINE_CONST_DICT(BreakoutTrackball_locals_dict, BreakoutTrackball_loc
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t breakout_trackball_BreakoutTrackball_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_trackball,
|
||||
.name = MP_QSTR_BreakoutTrackball,
|
||||
.make_new = BreakoutTrackball_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&BreakoutTrackball_locals_dict,
|
||||
};
|
||||
|
|
|
@ -49,7 +49,7 @@ STATIC MP_DEFINE_CONST_DICT(VL53L5CX_locals_dict, VL53L5CX_locals_dict_table);
|
|||
/***** Class Definition *****/
|
||||
const mp_obj_type_t VL53L5CX_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_breakout_vl53l5cx,
|
||||
.name = MP_QSTR_VL53L5CX,
|
||||
.make_new = VL53L5CX_make_new,
|
||||
.locals_dict = (mp_obj_dict_t*)&VL53L5CX_locals_dict,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue