kopia lustrzana https://github.com/pimoroni/pimoroni-pico
				
				
				
			PNG/JPEGDEC: Use MP_ROM_QSTR.
							rodzic
							
								
									01e1eaa157
								
							
						
					
					
						commit
						25627588c3
					
				|  | @ -43,7 +43,7 @@ void *jpegdec_open_callback(const char *filename, int32_t *size) { | |||
| 
 | ||||
|     mp_obj_t args[2] = { | ||||
|         fn, | ||||
|         MP_OBJ_NEW_QSTR(MP_QSTR_r), | ||||
|         MP_ROM_QSTR(MP_QSTR_r), | ||||
|     }; | ||||
| 
 | ||||
|     // Stat the file to get its size
 | ||||
|  |  | |||
|  | @ -53,7 +53,7 @@ void *pngdec_open_callback(const char *filename, int32_t *size) { | |||
| 
 | ||||
|     mp_obj_t args[2] = { | ||||
|         fn, | ||||
|         MP_OBJ_NEW_QSTR(MP_QSTR_r), | ||||
|         MP_ROM_QSTR(MP_QSTR_r), | ||||
|     }; | ||||
| 
 | ||||
|     // Stat the file to get its size
 | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Phil Howard
						Phil Howard